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

Unified Diff: ui/views/widget/desktop_root_window_host_win.cc

Issue 11047012: Wiring metro mouse events to aura viewer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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/widget/desktop_root_window_host_win.h ('k') | win8/metro_driver/chrome_app_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_root_window_host_win.cc
===================================================================
--- ui/views/widget/desktop_root_window_host_win.cc (revision 160403)
+++ ui/views/widget/desktop_root_window_host_win.cc (working copy)
@@ -76,7 +76,6 @@
root_window_->Init();
root_window_->AddChild(content_window_);
- root_window_host_delegate_ = root_window_;
native_widget_delegate_->OnNativeWidgetCreated();
@@ -306,6 +305,12 @@
////////////////////////////////////////////////////////////////////////////////
// DesktopRootWindowHostWin, RootWindowHost implementation:
+
+void DesktopRootWindowHostWin::SetDelegate(
+ aura::RootWindowHostDelegate* delegate) {
+ root_window_host_delegate_ = delegate;
+}
+
aura::RootWindow* DesktopRootWindowHostWin::GetRootWindow() {
return root_window_;
}
« no previous file with comments | « ui/views/widget/desktop_root_window_host_win.h ('k') | win8/metro_driver/chrome_app_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698