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