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

Unified Diff: chrome/browser/ui/browser.h

Issue 8834008: Hide default context menu for platform apps. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Compile on non-Windows OS Created 9 years 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/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 0a5413b2d48f34260a265a82d62599ab571453db..e80d1aedceb6268ad183d45cb7a3a91baf5dbd9c 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -864,6 +864,9 @@ class Browser : public TabHandlerDelegate,
bool is_app() const;
bool is_devtools() const;
+ // Will return NULL if this is not a browser for a platform app.
+ const Extension* GetPlatformApp() const;
+
// True when the current tab is in fullscreen mode, requested by
// webkitRequestFullScreen.
bool IsFullscreenForTab() const;

Powered by Google App Engine
This is Rietveld 408576698