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

Unified Diff: ui/android/dummy_screen_android.cc

Issue 2595263002: Introduce ViewRoot forwarding input/view events to native (Closed)
Patch Set: unittest 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
« no previous file with comments | « ui/android/display_android_manager.cc ('k') | ui/android/java/src/org/chromium/ui/base/ViewRoot.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « ui/android/display_android_manager.cc ('k') | ui/android/java/src/org/chromium/ui/base/ViewRoot.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698