Chromium Code Reviews| Index: ui/views/widget/native_widget.h |
| diff --git a/ui/views/widget/native_widget.h b/ui/views/widget/native_widget.h |
| index 39255ffc9c10141bd2a9a456083b718a1c7ec615..7d4c038674b04145729e26ea89ce1d1026d511c3 100644 |
| --- a/ui/views/widget/native_widget.h |
| +++ b/ui/views/widget/native_widget.h |
| @@ -5,12 +5,9 @@ |
| #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_H_ |
| #define UI_VIEWS_WIDGET_NATIVE_WIDGET_H_ |
| +#include "ui/gfx/native_widget_types.h" |
| #include "ui/views/widget/widget.h" |
| -namespace ui { |
| -class EventHandler; |
| -} |
| - |
| namespace views { |
| namespace internal { |
| class NativeWidgetPrivate; |
| @@ -30,8 +27,8 @@ class VIEWS_EXPORT NativeWidget { |
| public: |
| virtual ~NativeWidget() {} |
| - // Retrieves the event handler |
| - virtual ui::EventHandler* GetEventHandler() = 0; |
| + // Repost an unhandled event to the native widget for default OS processing. |
| + virtual void RepostNativeEvent(gfx::NativeEvent os_event) = 0; |
|
sadrul
2014/05/29 23:09:27
|os_event| may be confusing here, because in aura,
tapted
2014/05/30 01:59:44
Done.
|
| private: |
| friend class Widget; |