Index: chrome/browser/ui/input_method/input_method_engine.h |
diff --git a/chrome/browser/ui/input_method/input_method_engine.h b/chrome/browser/ui/input_method/input_method_engine.h |
index 3ed4c8c1d452dbe456e1f0a2af795642286c2763..59f60476c39dd6102c92a73cd5e346369d812650 100644 |
--- a/chrome/browser/ui/input_method/input_method_engine.h |
+++ b/chrome/browser/ui/input_method/input_method_engine.h |
@@ -57,6 +57,12 @@ class InputMethodEngine : public InputMethodEngineBase, |
ui::ImeWindow* FindWindowById(int window_id) const; |
+ // Checks if the page is special page that we want to disable some key events. |
+ bool IsSpecialPage(ui::InputMethod* method); |
+ |
+ // Checks if the key event are whitelisted key for all pages. |
+ bool IsValidKeyForAllPages(ui::KeyEvent* ui_event); |
+ |
// Holds the IME window instances for properly closing in the destructor. |
// The follow-cursor window is singleton. |
// The normal windows cannot exceed the max count. |