summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/input_method/input_method_manager_impl.h
diff options
context:
space:
mode:
authorerikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 18:36:32 +0000
committererikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 18:36:32 +0000
commitc02a42452d8b8eb2c1193cafc7e71562392e572c (patch)
tree3f87ebefef5a85bd08dc5304ca03e76389e6a06a /chrome/browser/chromeos/input_method/input_method_manager_impl.h
parenta5fdb93ec2f6dc1b33d79bb3396c0cdb35f519f6 (diff)
downloadchromium_src-c02a42452d8b8eb2c1193cafc7e71562392e572c.zip
chromium_src-c02a42452d8b8eb2c1193cafc7e71562392e572c.tar.gz
chromium_src-c02a42452d8b8eb2c1193cafc7e71562392e572c.tar.bz2
Introduce a configuration layer for c/b/input_method.
This allows a number of configuration-type methods to be removed from the public interface of InputMethodManager. BUG=None Review URL: https://chromiumcodereview.appspot.com/11316312 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172354 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/input_method/input_method_manager_impl.h')
-rw-r--r--chrome/browser/chromeos/input_method/input_method_manager_impl.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/chrome/browser/chromeos/input_method/input_method_manager_impl.h b/chrome/browser/chromeos/input_method/input_method_manager_impl.h
index 49f4dde..ba634d5 100644
--- a/chrome/browser/chromeos/input_method/input_method_manager_impl.h
+++ b/chrome/browser/chromeos/input_method/input_method_manager_impl.h
@@ -32,6 +32,12 @@ class InputMethodManagerImpl : public InputMethodManager,
explicit InputMethodManagerImpl(scoped_ptr<InputMethodDelegate> delegate);
virtual ~InputMethodManagerImpl();
+ // Attach IBusController, CandidateWindowController, and XKeyboard objects
+ // to the InputMethodManagerImpl object. You don't have to call this function
+ // if you attach them yourself (e.g. in unit tests) using the protected
+ // setters.
+ void Init();
+
// InputMethodManager override:
virtual void AddObserver(InputMethodManager::Observer* observer) OVERRIDE;
virtual void AddCandidateWindowObserver(
@@ -83,8 +89,6 @@ class InputMethodManagerImpl : public InputMethodManager,
void SetXKeyboardForTesting(XKeyboard* xkeyboard);
private:
- friend class InputMethodManager;
-
// IBusController overrides:
virtual void PropertyChanged() OVERRIDE;
virtual void OnConnected() OVERRIDE;
@@ -95,11 +99,6 @@ class InputMethodManagerImpl : public InputMethodManager,
virtual void CandidateWindowOpened() OVERRIDE;
virtual void CandidateWindowClosed() OVERRIDE;
- // Attach IBusController, CandidateWindowController, and XKeyboard objects
- // to the InputMethodManagerImpl object. You don't have to call this function
- // if you attach them yourself (e.g. in unit tests) using the setters above.
- void Init();
-
// Temporarily deactivates all input methods (e.g. Chinese, Japanese, Arabic)
// since they are not necessary to input a login password. Users are still
// able to use/switch active keyboard layouts (e.g. US qwerty, US dvorak,