From 1a936ba7ed7506773dd8f8a1de8af01ed97e9050 Mon Sep 17 00:00:00 2001 From: "komatsu@chromium.org" Date: Thu, 9 Jan 2014 04:26:30 +0000 Subject: 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 --- chrome/browser/chromeos/input_method/input_method_engine_interface.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/browser/chromeos/input_method/input_method_engine_interface.h') 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. -- cgit v1.1