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

Unified Diff: ui/aura/desktop/desktop_screen_win.cc

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 | « ui/aura/desktop/desktop_screen_win.h ('k') | ui/aura/desktop/desktop_screen_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/desktop/desktop_screen_win.cc
diff --git a/ui/aura/desktop/desktop_screen_win.cc b/ui/aura/desktop/desktop_screen_win.cc
index 6956a82ae386faf412c3fa928ead5fc7b079acc9..13bd2483b284e0c910873d26f684d0999dbf1cd5 100644
--- a/ui/aura/desktop/desktop_screen_win.cc
+++ b/ui/aura/desktop/desktop_screen_win.cc
@@ -40,7 +40,11 @@ DesktopScreenWin::~DesktopScreenWin() {
}
////////////////////////////////////////////////////////////////////////////////
-// DesktopScreenWin, gfx::ScreenImpl implementation:
+// DesktopScreenWin, gfx::Screen implementation:
+
+bool DesktopScreenWin::IsDIPEnabled() {
+ return true;
+}
gfx::Point DesktopScreenWin::GetCursorScreenPoint() {
POINT pt;
@@ -101,7 +105,7 @@ gfx::Display DesktopScreenWin::GetPrimaryDisplay() const {
////////////////////////////////////////////////////////////////////////////////
-gfx::ScreenImpl* CreateDesktopScreen() {
+gfx::Screen* CreateDesktopScreen() {
return new DesktopScreenWin;
}
« no previous file with comments | « ui/aura/desktop/desktop_screen_win.h ('k') | ui/aura/desktop/desktop_screen_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698