Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: ui/keyboard/keyboard_controller_proxy.h

Issue 240443006: Remove native VK window height logic and wait for resizeTo to setup VK window height (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/keyboard/keyboard_controller_proxy.h
diff --git a/ui/keyboard/keyboard_controller_proxy.h b/ui/keyboard/keyboard_controller_proxy.h
index f05f6f2997cceeb6122134e2208a4905e8c67780..0884cd91bb0b440e6e1ccafda1c0af19b8447c83 100644
--- a/ui/keyboard/keyboard_controller_proxy.h
+++ b/ui/keyboard/keyboard_controller_proxy.h
@@ -52,19 +52,10 @@ class KEYBOARD_EXPORT KeyboardControllerProxy {
// with the proxy.
virtual aura::Window* GetKeyboardWindow();
- // 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) {
- resizing_from_contents_ = resizing;
- }
-
// Gets the InputMethod that will provide notifications about changes in the
// text input context.
virtual ui::InputMethod* GetInputMethod() = 0;
@@ -130,9 +121,6 @@ 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);
};

Powered by Google App Engine
This is Rietveld 408576698