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

Unified Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc

Issue 307623002: MacViews: Replace NativeWidget::GetEventHandler() with RepostNativeEvent(..) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20140528-MacViews-examples_exe
Patch Set: Created 6 years, 7 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
Index: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
index f243083f5051e8fc5925406356f97cbfb708d2fb..53adcd63bc7d0daf1356a75e5d1d91b686376df7 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
@@ -1180,8 +1180,8 @@ void DesktopNativeWidgetAura::OnHostMoved(const aura::WindowTreeHost* host,
////////////////////////////////////////////////////////////////////////////////
// DesktopNativeWidgetAura, NativeWidget implementation:
-ui::EventHandler* DesktopNativeWidgetAura::GetEventHandler() {
- return this;
+void DesktopNativeWidgetAura::RepostNativeEvent(gfx::NativeEvent os_event) {
+ OnEvent(os_event);
}
void DesktopNativeWidgetAura::InstallInputMethodEventFilter() {

Powered by Google App Engine
This is Rietveld 408576698