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

Unified Diff: ui/views/mus/native_widget_mus.cc

Issue 2188813003: content: Remove views dependency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus-public-cpp-component
Patch Set: . Created 4 years, 5 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/views/mus/native_widget_mus.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/native_widget_mus.cc
diff --git a/ui/views/mus/native_widget_mus.cc b/ui/views/mus/native_widget_mus.cc
index 31a680259d7b3005a3c2ff57422e5f0b1cf9db0e..4dcf0781044ab1d99a08d67aee78a4321df1ebcb 100644
--- a/ui/views/mus/native_widget_mus.cc
+++ b/ui/views/mus/native_widget_mus.cc
@@ -27,6 +27,7 @@
#include "ui/aura/window.h"
#include "ui/aura/window_property.h"
#include "ui/base/hit_test.h"
+#include "ui/base/view_prop.h"
#include "ui/display/display.h"
#include "ui/display/screen.h"
#include "ui/events/event.h"
@@ -532,6 +533,9 @@ NativeWidgetMus::NativeWidgetMus(internal::NativeWidgetDelegate* delegate,
}
window_tree_host_.reset(new WindowTreeHostMus(this, window_));
+ prop_.reset(new ui::ViewProp(window_tree_host_->GetAcceleratedWidget(),
+ ui::kWindowForAcceleratedWidget,
+ window_));
aura::Env::GetInstance()->set_context_factory(default_context_factory);
}
« no previous file with comments | « ui/views/mus/native_widget_mus.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698