Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ui / base / resource / resource_bundle_win.h
blob811464e1304b320415ac1b19dfff3a1aa9cae3fd
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
3 // found in the LICENSE file.
5 #ifndef UI_BASE_RESOURCE_RESOURCE_BUNDLE_WIN_
6 #define UI_BASE_RESOURCE_RESOURCE_BUNDLE_WIN_
8 #include "build/build_config.h"
10 #include <windows.h>
12 #include "base/basictypes.h"
13 #include "ui/base/ui_base_export.h"
15 namespace ui {
17 // NOTE: This needs to be called before initializing ResourceBundle if your
18 // resources are not stored in the executable.
19 UI_BASE_EXPORT void SetResourcesDataDLL(HINSTANCE handle);
21 // Loads and returns an icon from the app module.
22 UI_BASE_EXPORT HICON LoadThemeIconFromResourcesDataDLL(int icon_id);
24 } // namespace ui
26 #endif // UI_BASE_RESOURCE_RESOURCE_DATA_DLL_WIN_H_