| Index: mojo/examples/launcher/launcher.cc
|
| diff --git a/mojo/examples/launcher/launcher.cc b/mojo/examples/launcher/launcher.cc
|
| index 85ea6021a915fce6f0ed33424003bd3fb5bb0eff..242aea381d5f7ccc0fe6904b5bd284014d3c8f87 100644
|
| --- a/mojo/examples/launcher/launcher.cc
|
| +++ b/mojo/examples/launcher/launcher.cc
|
| @@ -95,19 +95,9 @@ class MinimalInputEventFilter : public ui::internal::InputMethodDelegate,
|
| }
|
| }
|
|
|
| - // ui::InputMethodDelegate:
|
| - virtual bool DispatchKeyEventPostIME(
|
| - const base::NativeEvent& event) OVERRIDE {
|
| - ui::TranslatedKeyEvent aura_event(event, false /* is_char */);
|
| - return root_->GetDispatcher()->AsWindowTreeHostDelegate()->OnHostKeyEvent(
|
| - &aura_event);
|
| - }
|
| -
|
| - virtual bool DispatchFabricatedKeyEventPostIME(ui::EventType type,
|
| - ui::KeyboardCode key_code,
|
| - int flags) OVERRIDE {
|
| - ui::TranslatedKeyEvent aura_event(type == ui::ET_KEY_PRESSED, key_code,
|
| - flags);
|
| + // ui::internal::InputMethodDelegate:
|
| + virtual bool DispatchKeyEventPostIME(const ui::KeyEvent& event) OVERRIDE {
|
| + ui::TranslatedKeyEvent aura_event(event);
|
| return root_->GetDispatcher()->AsWindowTreeHostDelegate()->OnHostKeyEvent(
|
| &aura_event);
|
| }
|
|
|