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

Unified Diff: ui/display/screen_aura.cc

Issue 2688413007: Add display::GetDisplayNearestView (Closed)
Patch Set: WindowForView 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/screen_aura.cc
diff --git a/ui/display/screen_aura.cc b/ui/display/screen_aura.cc
index a12d9a6de49ec3cddedc22a671aebf4e9c3b60fb..5af2d1332d2c819d04d5e1415c89a83969b6c770 100644
--- a/ui/display/screen_aura.cc
+++ b/ui/display/screen_aura.cc
@@ -8,6 +8,11 @@
namespace display {
+// static
+gfx::NativeWindow Screen::WindowForView(gfx::NativeView view) {
+ return view;
+}
+
Screen* CreateNativeScreen() {
NOTREACHED() << "Implementation should be installed at higher level.";
return NULL;
« ui/display/screen.h ('K') | « ui/display/screen.cc ('k') | ui/display/screen_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698