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 3 // found in the LICENSE file. 4 5 #ifndef ASH_KEYBOARD_UI_RESOURCES_KEYBOARD_RESOURCE_UTIL_H_ 6 #define ASH_KEYBOARD_UI_RESOURCES_KEYBOARD_RESOURCE_UTIL_H_ 7 8 #include <stddef.h> 9 10 #include "ash/keyboard/ui/keyboard_export.h" 11 12 struct GritResourceMap; 13 14 namespace keyboard { 15 16 // The URL of the keyboard extension. 17 KEYBOARD_EXPORT extern const char kKeyboardURL[]; 18 19 // The host of the keyboard extension URL. 20 KEYBOARD_EXPORT extern const char kKeyboardHost[]; 21 22 // Get the list of keyboard resources. |size| is populated with the number of 23 // resources in the returned array. 24 KEYBOARD_EXPORT const GritResourceMap* GetKeyboardExtensionResources( 25 size_t* size); 26 27 // Initializes the keyboard module. This includes adding the necessary pak files 28 // for loading resources used in for the virtual keyboard. This becomes a no-op 29 // after the first call. 30 KEYBOARD_EXPORT void InitializeKeyboardResources(); 31 32 } // namespace keyboard 33 34 #endif // ASH_KEYBOARD_UI_RESOURCES_KEYBOARD_RESOURCE_UTIL_H_ 35