Index: ui/aura/desktop_host_win.cc |
diff --git a/ui/aura/desktop_host_win.cc b/ui/aura/desktop_host_win.cc |
index c491ac161a9b0b56165e85236723d443954ff7e5..36399e2da5e38ceaaf6499eb2390d28ea92b62f2 100644 |
--- a/ui/aura/desktop_host_win.cc |
+++ b/ui/aura/desktop_host_win.cc |
@@ -225,6 +225,11 @@ gfx::Point DesktopHostWin::QueryMouseLocation() { |
max(0, min(size.height(), static_cast<int>(pt.y)))); |
} |
+void DesktopHostWin::PostNativeEvent(const base::NativeEvent& native_event) { |
+ ::PostMessage( |
+ hwnd(), native_event.message, native_event.wParam, native_event.lParam); |
+} |
+ |
void DesktopHostWin::OnClose() { |
// TODO: this obviously shouldn't be here. |
MessageLoopForUI::current()->Quit(); |