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

Unified Diff: ui/keyboard/keyboard_controller.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
« no previous file with comments | « no previous file | ui/keyboard/keyboard_controller.cc » ('j') | ui/keyboard/keyboard_controller_proxy.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_controller.h
diff --git a/ui/keyboard/keyboard_controller.h b/ui/keyboard/keyboard_controller.h
index 45bba329be6ff087519e6ab3a0402d4895772a30..c5053710e215dadcf0daabe851e1ebfbe1adcdce 100644
--- a/ui/keyboard/keyboard_controller.h
+++ b/ui/keyboard/keyboard_controller.h
@@ -62,10 +62,16 @@ class KEYBOARD_EXPORT KeyboardController : public ui::InputMethodObserver,
// call is made by the system rather than initiated by the user.
void HideKeyboard(HideReason reason);
+ // Notifies the keyboard observer for keyboard bounds changed.
+ void NotifyKeyboardBoundsChanging(const gfx::Rect& new_bounds);
+
// Management of the observer list.
virtual void AddObserver(KeyboardControllerObserver* observer);
virtual void RemoveObserver(KeyboardControllerObserver* observer);
+ // Gets the proxy.
+ KeyboardControllerProxy* proxy() { return proxy_.get(); }
+
private:
// For access to Observer methods for simulation.
friend class KeyboardControllerTest;
« no previous file with comments | « no previous file | ui/keyboard/keyboard_controller.cc » ('j') | ui/keyboard/keyboard_controller_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698