Index: ui/keyboard/keyboard_util.h |
diff --git a/ui/keyboard/keyboard_util.h b/ui/keyboard/keyboard_util.h |
index dc1c97b7b756b1441988f082987006faae42aea5..3ef2c144b19c646851ea3fb9aa29ef5b3a68c640 100644 |
--- a/ui/keyboard/keyboard_util.h |
+++ b/ui/keyboard/keyboard_util.h |
@@ -52,14 +52,11 @@ enum KeyboardShowOverride { |
KEYBOARD_SHOW_OVERRIDE_NONE, |
}; |
-// Gets the default keyboard bounds from |window_bounds|. |
-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); |
+// Gets the caculated keyboard bounds from |root_bounds|. The keyboard height |
+// is specified by |keyboard_height|. This should be only called when keyboard |
+// is in FULL_WDITH mode. |
+KEYBOARD_EXPORT gfx::Rect FullWidthKeyboardBoundsFromRootBounds( |
+ const gfx::Rect& root_bounds, int keyboard_height); |
// Sets the state of the a11y onscreen keyboard. |
KEYBOARD_EXPORT void SetAccessibilityKeyboardEnabled(bool enabled); |