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

Unified Diff: ui/views_content_client/views_content_main_delegate.cc

Issue 303543004: MacViews: views_examples_with_content_exe working! Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add files Created 6 years, 7 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/views_content_client/views_content_client_main_parts_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views_content_client/views_content_main_delegate.cc
diff --git a/ui/views_content_client/views_content_main_delegate.cc b/ui/views_content_client/views_content_main_delegate.cc
index 4a1e5a00423ae2d9c8975fe29924f27a944b34fb..7fd608ea4cef09c2171b7fe8f2b429ba053fdcd5 100644
--- a/ui/views_content_client/views_content_main_delegate.cc
+++ b/ui/views_content_client/views_content_main_delegate.cc
@@ -61,6 +61,12 @@ void ViewsContentMainDelegate::PreSandboxStartup() {
base::FilePath ui_test_pak_path;
DCHECK(PathService::Get(ui::UI_TEST_PAK, &ui_test_pak_path));
ui::ResourceBundle::InitSharedInstanceWithPakPath(ui_test_pak_path);
+
+ base::FilePath content_resources_pak_path;
+ PathService::Get(base::DIR_MODULE, &content_resources_pak_path);
+ ui::ResourceBundle::GetSharedInstance().AddDataPackFromPath(
+ content_resources_pak_path.AppendASCII("content_resources.pak"),
+ ui::SCALE_FACTOR_100P);
}
content::ContentBrowserClient*
« no previous file with comments | « ui/views_content_client/views_content_client_main_parts_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698