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

Unified Diff: ui/gfx/screen.h

Issue 10389109: Add gfx::Screen::IsEnabled() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nicer diff Created 8 years, 7 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/gfx/screen.h
diff --git a/ui/gfx/screen.h b/ui/gfx/screen.h
index f0f4201e6d21e096860c7d830ddd6a6b4835800d..d6eb62982a820e25ed6fce346643baf0db9b2177 100644
--- a/ui/gfx/screen.h
+++ b/ui/gfx/screen.h
@@ -28,6 +28,9 @@ class UI_EXPORT Screen {
static void SetInstance(ScreenImpl* screen);
#endif
+ // True if DIP is enabled.
+ static bool IsDIPEnabled();
+
// Returns the current absolute position of the mouse pointer.
static gfx::Point GetCursorScreenPoint();
« no previous file with comments | « ui/gfx/image/image_skia.cc ('k') | ui/gfx/screen_android.cc » ('j') | ui/gfx/screen_aura.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698