| Index: ui/base/ime/ime_engine_observer.h
|
| diff --git a/ui/base/ime/ime_engine_observer.h b/ui/base/ime/ime_engine_observer.h
|
| index 7a2bf9d2682c2a15c66482abb245dd12063a1619..c03b8065da29a2e23f8bf449c7282148d930e153 100644
|
| --- a/ui/base/ime/ime_engine_observer.h
|
| +++ b/ui/base/ime/ime_engine_observer.h
|
| @@ -24,12 +24,6 @@ class IMEEngineObserver {
|
| // Called when a text field loses focus, and will no longer generate events.
|
| virtual void OnBlur(int context_id) = 0;
|
|
|
| - // Called when the user pressed a key with a text field focused.
|
| - virtual void OnKeyEvent(
|
| - const std::string& engine_id,
|
| - const IMEEngineHandlerInterface::KeyboardEvent& event,
|
| - IMEEngineHandlerInterface::KeyEventDoneCallback& key_data) = 0;
|
| -
|
| // Called when Chrome terminates on-going text input session.
|
| virtual void OnReset(const std::string& engine_id) = 0;
|
|
|
| @@ -49,31 +43,15 @@ class IMEEngineObserver {
|
| int cursor_pos,
|
| int anchor_pos,
|
| int offset_pos) = 0;
|
| -
|
| -// ChromeOS only APIs.
|
| #if defined(OS_CHROMEOS)
|
| -
|
| - enum MouseButtonEvent {
|
| - MOUSE_BUTTON_LEFT,
|
| - MOUSE_BUTTON_RIGHT,
|
| - MOUSE_BUTTON_MIDDLE,
|
| - };
|
| -
|
| // Called when an InputContext's properties change while it is focused.
|
| virtual void OnInputContextUpdate(
|
| const IMEEngineHandlerInterface::InputContext& context) = 0;
|
|
|
| -
|
| -
|
| - // Called when the user clicks on an item in the candidate list.
|
| - virtual void OnCandidateClicked(const std::string& engine_id,
|
| - int candidate_id,
|
| - MouseButtonEvent button) = 0;
|
| -
|
| // Called when a menu item for this IME is interacted with.
|
| - virtual void OnMenuItemActivated(const std::string& engine_id,
|
| + virtual void OnMenuItemActivated(const std::string& component_id,
|
| const std::string& menu_id) = 0;
|
| -#endif
|
| +#endif // defined(OS_CHROMEOS)
|
| };
|
|
|
| } // namespace ui
|
|
|