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

Unified Diff: ui/display/screen_aura.cc

Issue 2751833004: Reland "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/display/screen_android.cc ('k') | ui/display/screen_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/screen_aura.cc
diff --git a/ui/display/screen_aura.cc b/ui/display/screen_aura.cc
index a12d9a6de49ec3cddedc22a671aebf4e9c3b60fb..3d210b1353d66573ffd479557aaa416384ad414c 100644
--- a/ui/display/screen_aura.cc
+++ b/ui/display/screen_aura.cc
@@ -8,6 +8,11 @@
namespace display {
+// static
+gfx::NativeWindow Screen::GetWindowForView(gfx::NativeView view) {
+ return view;
+}
+
Screen* CreateNativeScreen() {
NOTREACHED() << "Implementation should be installed at higher level.";
return NULL;
« no previous file with comments | « ui/display/screen_android.cc ('k') | ui/display/screen_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698