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

Unified Diff: ui/android/dummy_screen_android.cc

Issue 2688113002: Make ViewRoot the top of the ViewAndroid tree (Closed)
Patch Set: - Created 3 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
Index: ui/android/dummy_screen_android.cc
diff --git a/ui/android/dummy_screen_android.cc b/ui/android/dummy_screen_android.cc
index 28520b8abb9a8e8ba0fa15f9303c5acc11cc9644..bf709e89dc39ccc11792c33b2c7ac6575191dbfc 100644
--- a/ui/android/dummy_screen_android.cc
+++ b/ui/android/dummy_screen_android.cc
@@ -43,6 +43,11 @@ class DummyScreenAndroid : public display::Screen {
return GetPrimaryDisplay();
}
+ Display GetDisplayNearestWindowAndroid(
+ gfx::NativeWindow window) const override {
+ return GetPrimaryDisplay();
+ }
+
Display GetDisplayNearestPoint(const gfx::Point& point) const override {
return GetPrimaryDisplay();
}

Powered by Google App Engine
This is Rietveld 408576698