| Index: ui/aura/window_event_dispatcher.h
|
| diff --git a/ui/aura/window_event_dispatcher.h b/ui/aura/window_event_dispatcher.h
|
| index 4ec5804b9d7da69b42f2eae6c641968e41166128..3fdc162424549c116f49b412ccba2c528d5cac69 100644
|
| --- a/ui/aura/window_event_dispatcher.h
|
| +++ b/ui/aura/window_event_dispatcher.h
|
| @@ -120,6 +120,9 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
|
| // observer.
|
| void OnPostNotifiedWindowDestroying(Window* window);
|
|
|
| + // True to skip sending event to the InputMethod.
|
| + void set_skip_ime(bool skip_ime) { skip_ime_ = skip_ime; }
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(WindowEventDispatcherTest,
|
| KeepTranslatedEventInRoot);
|
| @@ -238,6 +241,7 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
|
| ui::MouseEvent* event);
|
| ui::EventDispatchDetails PreDispatchTouchEvent(Window* target,
|
| ui::TouchEvent* event);
|
| + ui::EventDispatchDetails PreDispatchKeyEvent(ui::KeyEvent* event);
|
|
|
| WindowTreeHost* host_;
|
|
|
| @@ -270,6 +274,8 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
|
| // The default EventTargeter for WindowEventDispatcher generated events.
|
| std::unique_ptr<WindowTargeter> event_targeter_;
|
|
|
| + bool skip_ime_;
|
| +
|
| // Used to schedule reposting an event.
|
| base::WeakPtrFactory<WindowEventDispatcher> repost_event_factory_;
|
|
|
|
|