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

Unified Diff: ui/gfx/display.h

Issue 12257016: (Not ready for review!) Toolbar and views high dpi support. Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Cleaned up more useless diffs. Created 7 years, 10 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/gfx/canvas_paint_win.h ('k') | ui/gfx/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/display.h
diff --git a/ui/gfx/display.h b/ui/gfx/display.h
index 8b3f346902b7b9501fd2acf3ca7d662486c2c95c..bb54cfbdaa6673f21fa3955c2dfcdc9db69e0910 100644
--- a/ui/gfx/display.h
+++ b/ui/gfx/display.h
@@ -88,7 +88,7 @@ class UI_EXPORT Display {
// Returns the display's size in pixel coordinates.
gfx::Size GetSizeInPixel() const;
-#if defined(USE_AURA)
+#if defined(USE_AURA) || defined(OS_WIN)
// TODO(oshima|skuhne): Eliminate the use of bounds_in_pixel in events_x.cc
// and remove bounds_in_pixel from gfx::Display.
// Returns the display's bounds in pixel coordinates.
@@ -107,7 +107,7 @@ class UI_EXPORT Display {
int64 id_;
Rect bounds_;
Rect work_area_;
-#if defined(USE_AURA)
+#if defined(USE_AURA) || defined(OS_WIN)
Rect bounds_in_pixel_;
#endif
float device_scale_factor_;
« no previous file with comments | « ui/gfx/canvas_paint_win.h ('k') | ui/gfx/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698