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

Unified Diff: ui/display/screen_aura.cc

Issue 2721203007: gfx::NativeView <-> NativeWindow in dislpay.h (Closed)
Patch Set: scope 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
« no previous file with comments | « ui/display/screen.cc ('k') | no next file » | 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..1c790dcb09a73bd05b81c466041b4ada93f3c68e 100644
--- a/ui/display/screen_aura.cc
+++ b/ui/display/screen_aura.cc
@@ -8,6 +8,11 @@
namespace display {
+// static
+static gfx::NativeWindow Display::WindowForView(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.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698