Index: ui/keyboard/keyboard_controller_proxy.h |
diff --git a/ui/keyboard/keyboard_controller_proxy.h b/ui/keyboard/keyboard_controller_proxy.h |
index de4473e05695d043a63192edbb9e8f33f3122dfe..d8b7f3d389b681a6d7ce4755ee92dcfe0643e78c 100644 |
--- a/ui/keyboard/keyboard_controller_proxy.h |
+++ b/ui/keyboard/keyboard_controller_proxy.h |
@@ -44,6 +44,10 @@ class KEYBOARD_EXPORT KeyboardControllerProxy { |
// Whether the keyboard window is resizing from its web contents. |
bool resizing_from_contents() const { return resizing_from_contents_; } |
+ // Whether the keyboard window is created. The keyboard window is tied to a |
+ // WebContent so we can just check if the WebContent is created or not. |
+ virtual bool HasKeyboardWindow() const; |
+ |
// Sets the flag of whether the keyboard window is resizing from |
// its web contents. |
void set_resizing_from_contents(bool resizing) { |