Index: ui/aura/root_window_host_win.cc |
diff --git a/ui/aura/root_window_host_win.cc b/ui/aura/root_window_host_win.cc |
index d04b3520789b5444032990b83ed80752adfc0dfd..dbd69101ca47ae0a6b30ad4541d57f6b9f1927a8 100644 |
--- a/ui/aura/root_window_host_win.cc |
+++ b/ui/aura/root_window_host_win.cc |
@@ -151,6 +151,11 @@ gfx::AcceleratedWidget RootWindowHostWin::GetAcceleratedWidget() { |
return hwnd(); |
} |
+gfx::AcceleratedWidget RootWindowHostWin:: |
+ GetAcceleratedWidgetUsedForEvents() { |
+ return hwnd(); |
+} |
+ |
void RootWindowHostWin::Show() { |
ShowWindow(hwnd(), SW_SHOWNORMAL); |
} |
@@ -299,6 +304,11 @@ void RootWindowHostWin::OnDeviceScaleFactorChanged( |
NOTIMPLEMENTED(); |
} |
+bool RootWindowHostWin::DispatchNativeEvent( |
+ const base::NativeEvent& native_event) { |
+ return false; |
+} |
+ |
void RootWindowHostWin::OnClose() { |
// TODO: this obviously shouldn't be here. |
MessageLoopForUI::current()->Quit(); |