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

Unified Diff: mojo/views/views_init.cc

Issue 354513002: A couple of changes that make views work from multiple threads (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: usage Created 6 years, 6 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 | « mojo/views/mojo_views_export.h ('k') | mojo/views/views_init_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/views/views_init.cc
diff --git a/mojo/views/views_init.cc b/mojo/views/views_init.cc
index 50651ab1ae8ed95eb06393494e4f7331202b9076..edd8af34ae9277dd672e8bdd8b948f2255bb4740 100644
--- a/mojo/views/views_init.cc
+++ b/mojo/views/views_init.cc
@@ -4,21 +4,12 @@
#include "mojo/views/views_init.h"
-#include "base/i18n/icu_util.h"
-#include "base/path_service.h"
-#include "ui/base/resource/resource_bundle.h"
-#include "ui/base/ui_base_paths.h"
+#include "mojo/views/views_init_internal.h"
namespace mojo {
ViewsInit::ViewsInit() {
- base::i18n::InitializeICU();
-
- ui::RegisterPathProvider();
-
- base::FilePath ui_test_pak_path;
- CHECK(PathService::Get(ui::UI_TEST_PAK, &ui_test_pak_path));
- ui::ResourceBundle::InitSharedInstanceWithPakPath(ui_test_pak_path);
+ InitViews();
}
ViewsInit::~ViewsInit() {
« no previous file with comments | « mojo/views/mojo_views_export.h ('k') | mojo/views/views_init_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698