Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1242)

Unified Diff: chrome/browser/extensions/extension_ui_util.h

Issue 1006273002: Show location for bookmark apps that have navigated across origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_ui_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_ui_util.h
diff --git a/chrome/browser/extensions/extension_ui_util.h b/chrome/browser/extensions/extension_ui_util.h
index c49c2bc61376794983494ac2655bff5734a011bc..92031eadbd976318203a2ab817013f18f3da6683 100644
--- a/chrome/browser/extensions/extension_ui_util.h
+++ b/chrome/browser/extensions/extension_ui_util.h
@@ -7,6 +7,7 @@
namespace content {
class BrowserContext;
+class WebContents;
}
namespace extensions {
@@ -46,6 +47,11 @@ bool ShouldDisplayInExtensionSettings(const Extension* extension,
bool ShouldNotBeVisible(const Extension* extension,
content::BrowserContext* context);
+// Returns true if the location bar should be shown for |web_contents| when
+// viewed in the context of the app represented by |extension|.
+bool ShouldShowLocationBar(const Extension* extension,
+ const content::WebContents* web_contents);
+
} // namespace ui_util
} // namespace extensions
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698