Chromium Code Reviews| Index: ui/keyboard/keyboard_controller_proxy.h |
| diff --git a/ui/keyboard/keyboard_controller_proxy.h b/ui/keyboard/keyboard_controller_proxy.h |
| index cdd870a6a726ad29b86a932b8c85432ba7772de0..775dbffd7ca9166dda073df1d8644fcb8a9536f4 100644 |
| --- a/ui/keyboard/keyboard_controller_proxy.h |
| +++ b/ui/keyboard/keyboard_controller_proxy.h |
| @@ -41,6 +41,15 @@ class KEYBOARD_EXPORT KeyboardControllerProxy { |
| // Sets the override content url. |
| void SetOverrideContentUrl(const GURL& url); |
| + // Whether the keyboard window is resizing from its web contents. |
| + bool resizing_from_contents() { return resizing_from_contents_; } |
|
oshima
2013/12/12 01:53:24
const
Shu Chen
2013/12/12 02:34:29
Done.
|
| + |
| + // Sets the flag of whether the keyboard window is resizing from |
| + // its web contents. |
| + void set_resizing_from_contents(bool resizing) { |
| + resizing_from_contents_ = resizing; |
| + } |
| + |
| // Gets the InputMethod that will provide notifications about changes in the |
| // text input context. |
| virtual ui::InputMethod* GetInputMethod() = 0; |
| @@ -88,6 +97,9 @@ class KEYBOARD_EXPORT KeyboardControllerProxy { |
| scoped_ptr<content::WebContents> keyboard_contents_; |
| + // Whether the current keyboard window is resizing from its web content. |
| + bool resizing_from_contents_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(KeyboardControllerProxy); |
| }; |