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..c028b74ddcba4518b9a65e31208404e7e8d2593c 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() const { return resizing_from_contents_; } |
+ |
+ // 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); |
}; |