OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CONTENT_KEYBOARD_COTNENT_UTIL_H_ | 5 #ifndef UI_KEYBOARD_CONTENT_KEYBOARD_COTNENT_UTIL_H_ |
6 #define UI_KEYBOARD_CONTENT_KEYBOARD_COTNENT_UTIL_H_ | 6 #define UI_KEYBOARD_CONTENT_KEYBOARD_COTNENT_UTIL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
9 #include "ui/keyboard/keyboard_export.h" | 11 #include "ui/keyboard/keyboard_export.h" |
10 | 12 |
11 class GURL; | 13 class GURL; |
12 | 14 |
13 struct GritResourceMap; | 15 struct GritResourceMap; |
14 | 16 |
15 namespace keyboard { | 17 namespace keyboard { |
16 | 18 |
17 // Sets the override content url. | 19 // Sets the override content url. |
18 // This is used by for input view for extension IMEs. | 20 // This is used by for input view for extension IMEs. |
19 KEYBOARD_EXPORT void SetOverrideContentUrl(const GURL& url); | 21 KEYBOARD_EXPORT void SetOverrideContentUrl(const GURL& url); |
20 | 22 |
21 // Gets the override content url. | 23 // Gets the override content url. |
22 KEYBOARD_EXPORT const GURL& GetOverrideContentUrl(); | 24 KEYBOARD_EXPORT const GURL& GetOverrideContentUrl(); |
23 | 25 |
24 // Get the list of keyboard resources. |size| is populated with the number of | 26 // Get the list of keyboard resources. |size| is populated with the number of |
25 // resources in the returned array. | 27 // resources in the returned array. |
26 KEYBOARD_EXPORT const GritResourceMap* GetKeyboardExtensionResources( | 28 KEYBOARD_EXPORT const GritResourceMap* GetKeyboardExtensionResources( |
27 size_t* size); | 29 size_t* size); |
28 | 30 |
29 } // namespace keyboard | 31 } // namespace keyboard |
30 | 32 |
31 #endif // UI_KEYBOARD_CONTENT_KEYBOARD_COTNENT_UTIL_H_ | 33 #endif // UI_KEYBOARD_CONTENT_KEYBOARD_COTNENT_UTIL_H_ |
OLD | NEW |