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

Side by Side Diff: ui/base/ime/chromeos/ime_bridge.h

Issue 433163005: Refactoring for InputMethodEngine and InputMethodEventRouter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: error tolerance for missing background page for key events. Created 6 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_BASE_IME_CHROMEOS_IME_BRIDGE_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_IME_BRIDGE_H_
6 #define UI_BASE_IME_CHROMEOS_IME_BRIDGE_H_ 6 #define UI_BASE_IME_CHROMEOS_IME_BRIDGE_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 virtual ~IMEEngineHandlerInterface() {} 66 virtual ~IMEEngineHandlerInterface() {}
67 67
68 // Called when the Chrome input field get the focus. 68 // Called when the Chrome input field get the focus.
69 virtual void FocusIn(const InputContext& input_context) = 0; 69 virtual void FocusIn(const InputContext& input_context) = 0;
70 70
71 // Called when the Chrome input field lose the focus. 71 // Called when the Chrome input field lose the focus.
72 virtual void FocusOut() = 0; 72 virtual void FocusOut() = 0;
73 73
74 // Called when the IME is enabled. 74 // Called when the IME is enabled.
75 virtual void Enable() = 0; 75 virtual void Enable(const std::string& engine_id) = 0;
Yuki 2014/08/06 04:42:24 s/engine_id/component_id/
Shu Chen 2014/08/06 05:45:04 Done.
76 76
77 // Called when the IME is disabled. 77 // Called when the IME is disabled.
78 virtual void Disable() = 0; 78 virtual void Disable() = 0;
79 79
80 // Called when a property is activated or changed. 80 // Called when a property is activated or changed.
81 virtual void PropertyActivate(const std::string& property_name) = 0; 81 virtual void PropertyActivate(const std::string& property_name) = 0;
82 82
83 // Called when the IME is reset. 83 // Called when the IME is reset.
84 virtual void Reset() = 0; 84 virtual void Reset() = 0;
85 85
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 protected: 182 protected:
183 IMEBridge(); 183 IMEBridge();
184 184
185 private: 185 private:
186 DISALLOW_COPY_AND_ASSIGN(IMEBridge); 186 DISALLOW_COPY_AND_ASSIGN(IMEBridge);
187 }; 187 };
188 188
189 } // namespace chromeos 189 } // namespace chromeos
190 190
191 #endif // UI_BASE_IME_CHROMEOS_IME_BRIDGE_H_ 191 #endif // UI_BASE_IME_CHROMEOS_IME_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698