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

Unified Diff: views/ime/input_method_ibus.h

Issue 7004029: Fix to make InputMethodIBus usable on every ChromeOS device (even without TouchUI) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698