Index: ui/keyboard/keyboard_util.h |
diff --git a/ui/keyboard/keyboard_util.h b/ui/keyboard/keyboard_util.h |
index 2eefc9b02d69e4962ba86066fde314e0dd67675a..60bf389334a0e457c4e0e952418664facad1dca7 100644 |
--- a/ui/keyboard/keyboard_util.h |
+++ b/ui/keyboard/keyboard_util.h |
@@ -65,6 +65,14 @@ enum KeyboardState { |
KEYBOARD_EXPORT gfx::Rect FullWidthKeyboardBoundsFromRootBounds( |
const gfx::Rect& root_bounds, int keyboard_height); |
+// Blocks the keyboard from showing up. This should only be used for cases where |
+// the focus needs to be passed around without poping up the keyboard. It needs |
+// to be turned off when done with otherwise the keyboard will not pop up again. |
+KEYBOARD_EXPORT void SetWebUiOverrideEnabled(bool enabled); |
jdufault
2016/10/26 17:56:16
It's not clear from the calling site what this doe
sammiequon
2016/10/27 00:22:40
Done.
|
+ |
+// Return true if keyboard has been blocked from showing up for web ui purposes. |
+KEYBOARD_EXPORT bool GetWebUiOverrideEnabled(); |
+ |
// Sets the state of the a11y onscreen keyboard. |
KEYBOARD_EXPORT void SetAccessibilityKeyboardEnabled(bool enabled); |