OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BASE_RESOURCE_RESOURCE_BUNDLE_WIN_ | 5 #ifndef UI_BASE_RESOURCE_RESOURCE_BUNDLE_WIN_ |
6 #define UI_BASE_RESOURCE_RESOURCE_BUNDLE_WIN_ | 6 #define UI_BASE_RESOURCE_RESOURCE_BUNDLE_WIN_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #include <windows.h> | 10 #include <windows.h> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "ui/base/ui_export.h" | 13 #include "ui/base/ui_base_export.h" |
14 | 14 |
15 namespace ui { | 15 namespace ui { |
16 | 16 |
17 // NOTE: This needs to be called before initializing ResourceBundle if your | 17 // NOTE: This needs to be called before initializing ResourceBundle if your |
18 // resources are not stored in the executable. | 18 // resources are not stored in the executable. |
19 UI_EXPORT void SetResourcesDataDLL(HINSTANCE handle); | 19 UI_BASE_EXPORT void SetResourcesDataDLL(HINSTANCE handle); |
20 | 20 |
21 // Loads and returns an icon from the app module. | 21 // Loads and returns an icon from the app module. |
22 UI_EXPORT HICON LoadThemeIconFromResourcesDataDLL(int icon_id); | 22 UI_BASE_EXPORT HICON LoadThemeIconFromResourcesDataDLL(int icon_id); |
23 | 23 |
24 } // namespace ui | 24 } // namespace ui |
25 | 25 |
26 #endif // UI_BASE_RESOURCE_RESOURCE_DATA_DLL_WIN_H_ | 26 #endif // UI_BASE_RESOURCE_RESOURCE_DATA_DLL_WIN_H_ |
OLD | NEW |