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

Unified Diff: ui/views/controls/menu/menu_controller.h

Issue 11030017: Add context to gfx::Screen calls in support of simultaneous desktop+ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix some new gfx::Screen additions Created 8 years, 2 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: ui/views/controls/menu/menu_controller.h
diff --git a/ui/views/controls/menu/menu_controller.h b/ui/views/controls/menu/menu_controller.h
index e29b1a147ae623b1a520bc9eef399dd20957b379..cb477d131a99fa998a5b47e103c6dcd2442677d8 100644
--- a/ui/views/controls/menu/menu_controller.h
+++ b/ui/views/controls/menu/menu_controller.h
@@ -31,6 +31,9 @@ class Window;
namespace ui {
class OSExchangeData;
}
+namespace gfx {
+class Screen;
+}
namespace views {
class DropTargetEvent;
@@ -461,6 +464,9 @@ class VIEWS_EXPORT MenuController
aura::Window* old_active) OVERRIDE;
#endif
+ // Retrieve an appropriate Screen.
+ gfx::Screen* GetScreen() const;
oshima 2012/10/10 17:58:23 const gfx::Screen
scottmg 2012/10/10 19:04:47 Done.
+
// The active instance.
static MenuController* active_instance_;

Powered by Google App Engine
This is Rietveld 408576698