summaryrefslogtreecommitdiffstats
path: root/ui/views/widget/desktop_root_window_host_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/widget/desktop_root_window_host_win.cc')
-rw-r--r--ui/views/widget/desktop_root_window_host_win.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/views/widget/desktop_root_window_host_win.cc b/ui/views/widget/desktop_root_window_host_win.cc
index 781bac1..753ea8f 100644
--- a/ui/views/widget/desktop_root_window_host_win.cc
+++ b/ui/views/widget/desktop_root_window_host_win.cc
@@ -520,6 +520,8 @@ void DesktopRootWindowHostWin::HandleCreate() {
// TODO(beng): moar
NOTIMPLEMENTED();
+ native_widget_delegate_->OnNativeWidgetCreated();
+
// 1. Window property association
// 2. MouseWheel.
// 3. Drop target.
@@ -680,6 +682,10 @@ const Widget* DesktopRootWindowHostWin::GetWidget() const {
return native_widget_delegate_->AsWidget();
}
+HWND DesktopRootWindowHostWin::GetHWND() {
+ return message_handler_->hwnd();
+}
+
////////////////////////////////////////////////////////////////////////////////
// DesktopRootWindowHost, public: