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

Unified Diff: ash/shell.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: new android code 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: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 044ba06d5c4d6ba79b2fd7d444aa21cf44810819..f005854354fdfca1e6dc52e2e4e9793dd5acd1e4 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -20,6 +20,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "ui/gfx/insets.h"
+#include "ui/gfx/screen.h"
#include "ui/gfx/size.h"
class CommandLine;
@@ -171,6 +172,9 @@ class ASH_EXPORT Shell : CursorDelegate,
// until the another window who has a different root window becomes active.
static aura::RootWindow* GetActiveRootWindow();
+ // Returns the global Screen object that's always active in ash.
+ static gfx::Screen* GetAshScreen();
Ben Goodger (Google) 2012/10/10 22:52:10 imma be that guy that's gonna ask you to call this
scottmg 2012/10/11 00:22:28 imma be the guy crying in the refactoring corner.
+
// Returns all root windows.
static RootWindowList GetAllRootWindows();

Powered by Google App Engine
This is Rietveld 408576698