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

Unified Diff: chrome/browser/ui/views/frame/native_browser_frame.h

Issue 11819008: Refactors building the system menu model into a common place (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to trunk and fix windows build Created 7 years, 11 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/ui/views/frame/native_browser_frame.h
diff --git a/chrome/browser/ui/views/frame/native_browser_frame.h b/chrome/browser/ui/views/frame/native_browser_frame.h
index 1b9941d0a3b2505a2ddbadbde801680d2abbd138..c35fe790216e760787245b07dcb52029ee651563 100644
--- a/chrome/browser/ui/views/frame/native_browser_frame.h
+++ b/chrome/browser/ui/views/frame/native_browser_frame.h
@@ -24,8 +24,9 @@ class NativeBrowserFrame {
virtual views::NativeWidget* AsNativeWidget() = 0;
virtual const views::NativeWidget* AsNativeWidget() const = 0;
- // Initializes the system context menu.
- virtual void InitSystemContextMenu() = 0;
+ // Returns true if the OS takes care of showing the system menu. Returning
+ // false means BrowserFrame handles showing the system menu.
+ virtual bool UsesNativeSystemMenu() const = 0;
protected:
friend class BrowserFrame;
« no previous file with comments | « chrome/browser/ui/views/frame/desktop_browser_frame_aura.cc ('k') | chrome/browser/ui/views/frame/system_menu_model_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698