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

Unified Diff: ui/gfx/screen_aura.cc

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
« no previous file with comments | « ui/gfx/screen_android.cc ('k') | ui/gfx/screen_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/screen_aura.cc
diff --git a/ui/gfx/screen_aura.cc b/ui/gfx/screen_aura.cc
index 4337ede3c911d89ca5ac7926e3e6e7e704134017..35efac897cedb90513942998e00f3f8d2e30b5b7 100644
--- a/ui/gfx/screen_aura.cc
+++ b/ui/gfx/screen_aura.cc
@@ -5,6 +5,7 @@
#include "ui/gfx/screen.h"
#include "base/logging.h"
+#include "ui/compositor/dip_util.h"
#include "ui/gfx/monitor.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/screen_impl.h"
@@ -27,6 +28,11 @@ void Screen::SetInstance(ScreenImpl* screen) {
// ifdef.
// static
+bool Screen::IsDIPEnabled() {
+ return ui::IsDIPEnabled();
oshima 2012/05/17 15:18:41 DIP is always enabled on aura now. can you make th
+}
+
+// static
Point Screen::GetCursorScreenPoint() {
return g_instance_->GetCursorScreenPoint();
}
« no previous file with comments | « ui/gfx/screen_android.cc ('k') | ui/gfx/screen_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698