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

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..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_; }
+
+ // 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);
};

Powered by Google App Engine
This is Rietveld 408576698