Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: ui/base/resource/resource_bundle.h

Issue 7328011: Introduce ui.dll / libui.so for the component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/base/resource/resource_bundle.h
===================================================================
--- ui/base/resource/resource_bundle.h (revision 92815)
+++ ui/base/resource/resource_bundle.h (working copy)
@@ -23,6 +23,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
#include "ui/gfx/native_widget_types.h"
+#include "ui/ui_api.h"
class SkBitmap;
typedef uint32 SkColor;
@@ -56,7 +57,7 @@
// ResourceBundle is a central facility to load images and other resources,
// such as theme graphics.
// Every resource is loaded only once.
-class ResourceBundle {
+class UI_API ResourceBundle {
public:
// An enumeration of the various font styles used throughout Chrome.
// The following holds true for the font sizes:
@@ -142,6 +143,10 @@
void ReloadFonts();
#if defined(OS_WIN)
+ // NOTE: This needs to be called before initializing the shared instance if
+ // your resources are not stored in the executable.
+ static void SetResourcesDataDLL(HINSTANCE handle);
+
// Loads and returns an icon from the app module.
HICON LoadThemeIcon(int icon_id);
« no previous file with comments | « ui/base/resource/data_pack.h ('k') | ui/base/resource/resource_bundle.cc » ('j') | ui/ui.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698