| Index: ui/keyboard/keyboard_util.h
|
| diff --git a/ui/keyboard/keyboard_util.h b/ui/keyboard/keyboard_util.h
|
| index d553c1b4f7272bf6c27499f252921e6666d8a38f..c2b31b8819d601d163143cdd4144ead989e73619 100644
|
| --- a/ui/keyboard/keyboard_util.h
|
| +++ b/ui/keyboard/keyboard_util.h
|
| @@ -45,6 +45,13 @@ enum KeyboardOverscrolOverride {
|
| KEYBOARD_OVERSCROLL_OVERRIDE_NONE,
|
| };
|
|
|
| +// An enumeration of keyboard policy settings.
|
| +enum KeyboardShowOverride {
|
| + KEYBOARD_SHOW_OVERRIDE_DISABLED = 0,
|
| + KEYBOARD_SHOW_OVERRIDE_ENABLED,
|
| + KEYBOARD_SHOW_OVERRIDE_NONE,
|
| +};
|
| +
|
| // Gets the default keyboard bounds from |window_bounds|.
|
| KEYBOARD_EXPORT gfx::Rect DefaultKeyboardBoundsFromWindowBounds(
|
| const gfx::Rect& window_bounds);
|
| @@ -82,6 +89,9 @@ KEYBOARD_EXPORT bool IsKeyboardOverscrollEnabled();
|
| KEYBOARD_EXPORT void SetKeyboardOverscrollOverride(
|
| KeyboardOverscrolOverride override);
|
|
|
| +// Sets policy override on whether to show the keyboard.
|
| +KEYBOARD_EXPORT void SetKeyboardShowOverride(KeyboardShowOverride override);
|
| +
|
| // Returns true if an IME extension can specify a custom input view for the
|
| // virtual keyboard window.
|
| KEYBOARD_EXPORT bool IsInputViewEnabled();
|
|
|