Show infobar if NoScript preview is active.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9f102927a6bdc0a5287fc9bb5f6862c3acea024c commit 9f102927a6bdc0a5287fc9bb5f6862c3acea024c Author: Doug Arnett <dougarnett@chromium.org> Date: Mon Nov 06 20:25:00 2017 Integrate NoScriptPreview with PreviewsInfoBar Adds a util method to determine PreviewsType from PreviewsState for committed mainframe to make this a bit more general. Bug: 780915 Change-Id: I19160ab8e7cf9e45d18dbe1a604d192d999263ee Reviewed-on: https://chromium-review.googlesource.com/751901 Commit-Queue: Doug Arnett <dougarnett@chromium.org> Reviewed-by: Ryan Sturm <ryansturm@chromium.org> Cr-Commit-Position: refs/heads/master@{#514230} [modify] https://crrev.com/9f102927a6bdc0a5287fc9bb5f6862c3acea024c/chrome/browser/previews/previews_infobar_tab_helper.cc [modify] https://crrev.com/9f102927a6bdc0a5287fc9bb5f6862c3acea024c/chrome/browser/previews/previews_infobar_tab_helper_unittest.cc [modify] https://crrev.com/9f102927a6bdc0a5287fc9bb5f6862c3acea024c/components/previews/content/previews_content_util.cc [modify] https://crrev.com/9f102927a6bdc0a5287fc9bb5f6862c3acea024c/components/previews/content/previews_content_util.h [modify] https://crrev.com/9f102927a6bdc0a5287fc9bb5f6862c3acea024c/components/previews/content/previews_content_util_unittest.cc
Comment 1 by bengr@chromium.org
, Nov 3 2017