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

Unified Diff: ash/screen_ash.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 new addition 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
« no previous file with comments | « ash/launcher/overflow_bubble.cc ('k') | ash/screen_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/screen_ash.h
diff --git a/ash/screen_ash.h b/ash/screen_ash.h
index 8d836855b60258841002cb0e4385a5163302895d..078b76575ffaecb482cbc71f81235905d57f85a7 100644
--- a/ash/screen_ash.h
+++ b/ash/screen_ash.h
@@ -7,7 +7,7 @@
#include "ash/ash_export.h"
#include "base/compiler_specific.h"
-#include "ui/gfx/screen_impl.h"
+#include "ui/gfx/screen.h"
namespace gfx {
class Rect;
@@ -17,7 +17,7 @@ namespace ash {
// Aura implementation of gfx::Screen. Implemented here to avoid circular
// dependencies.
-class ASH_EXPORT ScreenAsh : public gfx::ScreenImpl {
+class ASH_EXPORT ScreenAsh : public gfx::Screen {
public:
ScreenAsh();
virtual ~ScreenAsh();
@@ -56,6 +56,9 @@ class ASH_EXPORT ScreenAsh : public gfx::ScreenImpl {
static const gfx::Display& GetSecondaryDisplay();
protected:
+
+ // Implementation of gfx::Screen:
+ virtual bool IsDIPEnabled() OVERRIDE;
virtual gfx::Point GetCursorScreenPoint() OVERRIDE;
virtual gfx::NativeWindow GetWindowAtCursorScreenPoint() OVERRIDE;
« no previous file with comments | « ash/launcher/overflow_bubble.cc ('k') | ash/screen_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698