Chromium Code Reviews| Index: views/ime/input_method_ibus.h |
| diff --git a/views/ime/input_method_ibus.h b/views/ime/input_method_ibus.h |
| index 1e1a2034b646acc8170dad854108cc10c339c4a1..3c2099ee9413392f1f8cf47b8aefd8ffe4143bdb 100644 |
| --- a/views/ime/input_method_ibus.h |
| +++ b/views/ime/input_method_ibus.h |
| @@ -41,6 +41,14 @@ class InputMethodIBus : public InputMethodBase { |
| virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; |
| virtual bool IsActive() OVERRIDE; |
| + // Returns true when |
| + // 1) built with GYP_DEFINES="touchui=1" |
|
oshima
2011/05/20 21:47:31
please add " or," at the end. same for the rest.
|
| + // 2) enabled by SetEnabledInputMethodIBus |
| + // 3) enabled by command line flag "--enable-inputmethod-ibus" |
| + static bool IsInputMethodIBusEnabled(); |
| + // Enable/Disable InputMethodIBus |
| + static void SetEnableInputMethodIBus(bool enabled); |
| + |
| private: |
| // A class to hold all data related to a key event being processed by the |
| // input method but still has no result back yet. |