Index: ui/keyboard/keyboard_util.h |
diff --git a/ui/keyboard/keyboard_util.h b/ui/keyboard/keyboard_util.h |
index a3a1f8a9bfd317c1b3c99147427ee63fd9a047b7..4e09d96e61865cc7d4af0230517c8c92a0005dbb 100644 |
--- a/ui/keyboard/keyboard_util.h |
+++ b/ui/keyboard/keyboard_util.h |
@@ -42,6 +42,11 @@ enum KeyboardControlEvent { |
KEYBOARD_EXPORT gfx::Rect DefaultKeyboardBoundsFromWindowBounds( |
const gfx::Rect& window_bounds); |
+// Gets the caculated keyboard bounds from |window_bounds|. The keyboard height |
+// is specified by |keyboard_height|. |
+KEYBOARD_EXPORT gfx::Rect KeyboardBoundsFromWindowBounds( |
+ const gfx::Rect& window_bounds, int keyboard_height); |
+ |
// Sets the state of the a11y onscreen keyboard. |
KEYBOARD_EXPORT void SetAccessibilityKeyboardEnabled(bool enabled); |