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

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

Issue 311293002: Ensure ephemeral apps have dock icons on mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comment Created 6 years, 6 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
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 f9add929e6359ced7a8a214a3fb45eede5389f59..09e9a6374342ad0ee620680e25301aa40e8a1c4b 100644
--- a/chrome/browser/extensions/extension_ui_util.h
+++ b/chrome/browser/extensions/extension_ui_util.h
@@ -21,6 +21,13 @@ namespace ui_util {
bool ShouldDisplayInAppLauncher(const Extension* extension,
content::BrowserContext* context);
+// Returns true if the extension should be displayed in the app launcher.
+// Checks whether the extension should be hidden due to policy, but does not
+// exclude ephemeral apps.
+bool ShouldDisplayInAppLauncherIncludingEphemeral(
benwells 2014/06/05 09:27:43 This needs a better name. How about CanDisplayInAp
tmdiep 2014/06/06 02:49:55 Done.
+ const Extension* extension,
+ content::BrowserContext* context);
+
// Returns true if the extension should be displayed in the browser NTP.
// Checks whether the extension is an ephemeral app or should be hidden due to
// policy.

Powered by Google App Engine
This is Rietveld 408576698