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

Unified Diff: ui/android/dummy_screen_android.cc

Issue 2645353004: ViewRoot class for event forwarding on Android (Closed)
Patch Set: fix tests Created 3 years, 11 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..5523c131d47c372731139824a6435c20e16cb097 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