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

Unified Diff: ui/base/resource/resource_bundle_ios.mm

Issue 419093002: ui: Remove ResourceBundle::LoadCommonResources(). Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: InitParams changes Created 6 years, 4 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 | « ui/base/resource/resource_bundle_auralinux.cc ('k') | ui/base/resource/resource_bundle_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/resource_bundle_ios.mm
diff --git a/ui/base/resource/resource_bundle_ios.mm b/ui/base/resource/resource_bundle_ios.mm
index 4f5d9bc34fd85620a1a2c9f89b6ef286a61c221c..8e6fb72e1fe84cdc63f20ca30a085abfb8bc2c07 100644
--- a/ui/base/resource/resource_bundle_ios.mm
+++ b/ui/base/resource/resource_bundle_ios.mm
@@ -43,21 +43,6 @@ base::FilePath GetResourcesPakFilePath(NSString* name, NSString* mac_locale) {
} // namespace
-void ResourceBundle::LoadCommonResources() {
- AddDataPackFromPath(GetResourcesPakFilePath(@"chrome", nil),
- ui::SCALE_FACTOR_NONE);
-
- if (IsScaleFactorSupported(SCALE_FACTOR_100P)) {
- AddDataPackFromPath(GetResourcesPakFilePath(@"chrome_100_percent", nil),
- SCALE_FACTOR_100P);
- }
-
- if (IsScaleFactorSupported(SCALE_FACTOR_200P)) {
- AddDataPackFromPath(GetResourcesPakFilePath(@"chrome_200_percent", nil),
- SCALE_FACTOR_200P);
- }
-}
-
base::FilePath ResourceBundle::GetLocaleFilePath(const std::string& app_locale,
bool test_file_exists) {
NSString* mac_locale = base::SysUTF8ToNSString(app_locale);
« no previous file with comments | « ui/base/resource/resource_bundle_auralinux.cc ('k') | ui/base/resource/resource_bundle_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698