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(); |
} |