summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/input_method/input_method_engine_interface.h
diff options
context:
space:
mode:
authorkomatsu@chromium.org <komatsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-09 04:26:30 +0000
committerkomatsu@chromium.org <komatsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-09 04:26:30 +0000
commit1a936ba7ed7506773dd8f8a1de8af01ed97e9050 (patch)
tree688247268c731a214bbb8c3a04f528c15a032718 /chrome/browser/chromeos/input_method/input_method_engine_interface.h
parenta27d34ab68aa875f665b043129b6315dd9e62224 (diff)
downloadchromium_src-1a936ba7ed7506773dd8f8a1de8af01ed97e9050.zip
chromium_src-1a936ba7ed7506773dd8f8a1de8af01ed97e9050.tar.gz
chromium_src-1a936ba7ed7506773dd8f8a1de8af01ed97e9050.tar.bz2
Refactoring around descriptor. The descriptor representing InputMethodEngine was previously generated in InpuMethodManager. This patch makes InputMethodEngine generates its own descriptor and manage it.
BUG=N/A Review URL: https://codereview.chromium.org/119133003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243763 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/input_method/input_method_engine_interface.h')
-rw-r--r--chrome/browser/chromeos/input_method/input_method_engine_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/input_method/input_method_engine_interface.h b/chrome/browser/chromeos/input_method/input_method_engine_interface.h
index 8be354b..5de7c2d 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine_interface.h
+++ b/chrome/browser/chromeos/input_method/input_method_engine_interface.h
@@ -15,6 +15,7 @@ class GURL;
namespace chromeos {
namespace input_method {
+class InputMethodDescriptor;
struct KeyEventHandle;
} // namespace input_method
@@ -169,6 +170,8 @@ class InputMethodEngineInterface : public IBusEngineHandlerInterface {
virtual ~InputMethodEngineInterface() {}
+ virtual const input_method::InputMethodDescriptor& GetDescriptor() const = 0;
+
// Called when the input metho initialization is done.
// This function is called from private API.
// TODO(nona): Remove this function.