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

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: Implemented differently 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 58f39a20fc26e1bb51a355c878fc908a47f16279..3ccd90fdddf14d9bc50fe08b6bfdb12149c523f1 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -863,6 +863,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