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

Unified Diff: ash/display/screen_ash.cc

Issue 672823002: Remove IsDIPEnabled from Screen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dpi-cleanup-1
Patch Set: rebase Created 6 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 | « ash/display/screen_ash.h ('k') | athena/env/athena_env_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/screen_ash.cc
diff --git a/ash/display/screen_ash.cc b/ash/display/screen_ash.cc
index 125ef82a9c2cd9f198ac1c72932d8503f52970cb..8c72e1dceb37d4ca820e5ec333a7c9bed5157dca 100644
--- a/ash/display/screen_ash.cc
+++ b/ash/display/screen_ash.cc
@@ -71,9 +71,6 @@ class ScreenForShutdown : public gfx::Screen {
}
// gfx::Screen overrides:
- virtual bool IsDIPEnabled() override {
- return true;
- }
virtual gfx::Point GetCursorScreenPoint() override {
return gfx::Point();
}
@@ -204,10 +201,6 @@ void ScreenAsh::NotifyDisplayRemoved(const gfx::Display& display) {
gfx::DisplayObserver, observers_, OnDisplayRemoved(display));
}
-bool ScreenAsh::IsDIPEnabled() {
- return true;
-}
-
gfx::Point ScreenAsh::GetCursorScreenPoint() {
return aura::Env::GetInstance()->last_mouse_location();
}
« no previous file with comments | « ash/display/screen_ash.h ('k') | athena/env/athena_env_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698