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

Unified Diff: ui/display/test/test_screen.cc

Issue 2688113002: Make ViewRoot the top of the ViewAndroid tree (Closed)
Patch Set: comments 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/display/test/test_screen.cc
diff --git a/ui/display/test/test_screen.cc b/ui/display/test/test_screen.cc
index 63e3740d5af20c562947d046d07503b07f76e3f6..6159b6aafb7f92da61417fcc5505c92e050a695d 100644
--- a/ui/display/test/test_screen.cc
+++ b/ui/display/test/test_screen.cc
@@ -32,5 +32,12 @@ Display TestScreen::GetDisplayNearestWindow(gfx::NativeView view) const {
return GetPrimaryDisplay();
}
+#if defined(OS_ANDROID)
+Display TestScreen::GetDisplayNearestWindowAndroid(
+ gfx::NativeWindow window) const {
+ return GetPrimaryDisplay();
+}
+#endif
+
} // namespace test
} // namespace display

Powered by Google App Engine
This is Rietveld 408576698