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

Unified Diff: ui/keyboard/keyboard_controller_proxy.h

Issue 97013002: [Input View] Makes the input view window support window.resizeTo() and w3c visibility API its web c… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 cdd870a6a726ad29b86a932b8c85432ba7772de0..952f163a84eee1ccaf6d511d6fdfd3922f3c9fe5 100644
--- a/ui/keyboard/keyboard_controller_proxy.h
+++ b/ui/keyboard/keyboard_controller_proxy.h
@@ -65,6 +65,13 @@ class KEYBOARD_EXPORT KeyboardControllerProxy {
// type the of focused input box.
virtual void SetUpdateInputType(ui::TextInputType type);
+ // The current keyboard content window's height in logical pixels.
+ static int keyboard_height;
kevers 2013/12/03 00:08:12 Please avoid using public static data members. Ke
Shu Chen 2013/12/03 01:54:42 Done.
+
+ // Whether the current keyboard window is resizing. This is used in keyboard
+ // contents delegate's MoveContents().
+ static bool keyboard_resizing_from_contents;
+
protected:
// Gets the BrowserContext to use for creating the WebContents hosting the
// keyboard.

Powered by Google App Engine
This is Rietveld 408576698