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

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

Issue 2311223003: [chromecast] Add ResourceBundle::LoadLocalizedResourceBytes(). (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « chromecast/common/cast_content_client.cc ('k') | ui/base/resource/resource_bundle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/resource_bundle.h
diff --git a/ui/base/resource/resource_bundle.h b/ui/base/resource/resource_bundle.h
index ed1067555de5a678b148d9bf400182716e0e9642..b0c16d9b65cf371d9c5275e1ed583450a262232f 100644
--- a/ui/base/resource/resource_bundle.h
+++ b/ui/base/resource/resource_bundle.h
@@ -231,6 +231,10 @@ class UI_BASE_EXPORT ResourceBundle {
// string if the message_id is not found.
base::string16 GetLocalizedString(int message_id);
+ // Get a localized resource (for example, localized image logo) given a
+ // resource id.
+ base::RefCountedMemory* GetLocalizedResourceBytes(int message_id);
byungchul 2016/09/06 20:54:54 LoadLocalizedResourceBytes(int resource_id)
+
// Returns a font list derived from the platform-specific "Base" font list.
// The result is always cached and exists for the lifetime of the process.
const gfx::FontList& GetFontListWithDelta(
« no previous file with comments | « chromecast/common/cast_content_client.cc ('k') | ui/base/resource/resource_bundle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698