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

Unified Diff: ui/android/dummy_screen_android.cc

Issue 2747143005: Revert of Add display::GetDisplayNearestView (Closed)
Patch Set: Created 3 years, 9 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/app_list/presenter/app_list_presenter_impl.cc » ('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 7e8e2db49db313a05d63fd4b1483209b772d572a..28520b8abb9a8e8ba0fa15f9303c5acc11cc9644 100644
--- a/ui/android/dummy_screen_android.cc
+++ b/ui/android/dummy_screen_android.cc
@@ -39,11 +39,7 @@
return displays_;
}
- Display GetDisplayNearestWindow(gfx::NativeWindow window) const override {
- return GetPrimaryDisplay();
- }
-
- Display GetDisplayNearestView(gfx::NativeView view) const override {
+ Display GetDisplayNearestWindow(gfx::NativeView view) const override {
return GetPrimaryDisplay();
}
« no previous file with comments | « ui/android/display_android_manager.cc ('k') | ui/app_list/presenter/app_list_presenter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698