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

Unified Diff: ui/keyboard/keyboard_controller_proxy.h

Issue 159473002: Restore screen work area after login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit and change HasKeyboardWindow to virtual function Created 6 years, 10 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
« no previous file with comments | « ui/keyboard/keyboard_controller.cc ('k') | ui/keyboard/keyboard_controller_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « ui/keyboard/keyboard_controller.cc ('k') | ui/keyboard/keyboard_controller_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698