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

Unified Diff: ui/base/resource/resource_bundle_android.cc

Issue 419093002: ui: Remove ResourceBundle::LoadCommonResources(). Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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_android.cc
diff --git a/ui/base/resource/resource_bundle_android.cc b/ui/base/resource/resource_bundle_android.cc
index b1942696603bd1d743799e08d3277e9c6cd1a3a1..79dabb2dc1fee6a9a78cddd57a30adc3b35c93a1 100644
--- a/ui/base/resource/resource_bundle_android.cc
+++ b/ui/base/resource/resource_bundle_android.cc
@@ -4,29 +4,14 @@
#include "ui/base/resource/resource_bundle.h"
-#include <string>
-
-#include "base/file_util.h"
-#include "base/files/file_path.h"
#include "base/logging.h"
-#include "base/path_service.h"
-#include "base/strings/stringprintf.h"
-#include "ui/base/resource/resource_handle.h"
-#include "ui/base/ui_base_paths.h"
namespace ui {
-void ResourceBundle::LoadCommonResources() {
- base::FilePath path;
- PathService::Get(ui::DIR_RESOURCE_PAKS_ANDROID, &path);
- AddDataPackFromPath(path.AppendASCII("chrome_100_percent.pak"),
- SCALE_FACTOR_100P);
-}
-
gfx::Image& ResourceBundle::GetNativeImageNamed(int resource_id, ImageRTL rtl) {
// Flipped image is not used on Android.
DCHECK_EQ(rtl, RTL_DISABLED);
return GetImageNamed(resource_id);
}
-}
+} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698