| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_KEYBOARD_KEYBOARD_UTIL_H_ | 5 #ifndef UI_KEYBOARD_KEYBOARD_UTIL_H_ |
| 6 #define UI_KEYBOARD_KEYBOARD_UTIL_H_ | 6 #define UI_KEYBOARD_KEYBOARD_UTIL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 // TODO(beng): replace with forward decl once RootWindow is renamed. | 10 // TODO(beng): replace with forward decl once RootWindow is renamed. |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 // Sets the override content url. | 171 // Sets the override content url. |
| 172 // This is used by for input view for extension IMEs. | 172 // This is used by for input view for extension IMEs. |
| 173 KEYBOARD_EXPORT void SetOverrideContentUrl(const GURL& url); | 173 KEYBOARD_EXPORT void SetOverrideContentUrl(const GURL& url); |
| 174 | 174 |
| 175 // Gets the override content url. | 175 // Gets the override content url. |
| 176 KEYBOARD_EXPORT const GURL& GetOverrideContentUrl(); | 176 KEYBOARD_EXPORT const GURL& GetOverrideContentUrl(); |
| 177 | 177 |
| 178 // Logs the keyboard control event as a UMA stat. | 178 // Logs the keyboard control event as a UMA stat. |
| 179 void LogKeyboardControlEvent(KeyboardControlEvent event); | 179 void LogKeyboardControlEvent(KeyboardControlEvent event); |
| 180 | 180 |
| 181 // Sets true if keyboard overscrolling is enabled with accessibility keyboard. | |
| 182 KEYBOARD_EXPORT void SetOverscrollEnabledWithAccessibilityKeyboard( | |
| 183 bool enabled); | |
| 184 | |
| 185 } // namespace keyboard | 181 } // namespace keyboard |
| 186 | 182 |
| 187 #endif // UI_KEYBOARD_KEYBOARD_UTIL_H_ | 183 #endif // UI_KEYBOARD_KEYBOARD_UTIL_H_ |
| OLD | NEW |