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

Unified Diff: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc

Issue 2043883004: Remove Roboto fonts from the resource bundle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update chromeos font install script Created 4 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
« no previous file with comments | « chrome/browser/resources/chromeos/login/roboto_font.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
index d06042f5415c96535116b8defd62af0a679aec0b..4e85f67c7e4a1ff12eba0c605b36da1c80100fea 100644
--- a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
@@ -160,14 +160,6 @@ content::WebUIDataSource* CreateOobeUIDataSource(
source->AddResourcePath(kEnrollmentCSSPath, IDR_OOBE_ENROLLMENT_CSS);
source->AddResourcePath(kEnrollmentJSPath, IDR_OOBE_ENROLLMENT_JS);
- if (display_type == OobeUI::kOobeDisplay) {
- source->AddResourcePath("Roboto-Thin.ttf", IDR_FONT_ROBOTO_THIN);
- source->AddResourcePath("Roboto-Light.ttf", IDR_FONT_ROBOTO_LIGHT);
- source->AddResourcePath("Roboto-Regular.ttf", IDR_FONT_ROBOTO_REGULAR);
- source->AddResourcePath("Roboto-Medium.ttf", IDR_FONT_ROBOTO_MEDIUM);
- source->AddResourcePath("Roboto-Bold.ttf", IDR_FONT_ROBOTO_BOLD);
- }
-
// Only add a filter when runing as test.
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
const bool is_running_test = command_line->HasSwitch(::switches::kTestName) ||
« no previous file with comments | « chrome/browser/resources/chromeos/login/roboto_font.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698