| 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..6160be3cc789f907624d8a0f1290d7a932fe1c7a 100644
|
| --- a/chrome/browser/ui/input_method/input_method_engine.h
|
| +++ b/chrome/browser/ui/input_method/input_method_engine.h
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/browser/ui/ime/ime_window.h"
|
| #include "chrome/browser/ui/ime/ime_window_observer.h"
|
| #include "chrome/browser/ui/input_method/input_method_engine_base.h"
|
| +#include "url/gurl.h"
|
|
|
| namespace content {
|
| class RenderFrameHost;
|
| @@ -57,6 +58,13 @@ class InputMethodEngine : public InputMethodEngineBase,
|
|
|
| ui::ImeWindow* FindWindowById(int window_id) const;
|
|
|
| + // Checks if the key event is allowed for some special pages. Checks |url| to
|
| + // see if the current frame is special page if |url_trustable| is true.
|
| + // Otherwise, treats |url| as special page whatever it is.
|
| + bool IsValidKeyForSpecialPage(const GURL& url,
|
| + bool url_trustable,
|
| + 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.
|
|
|