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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc

Issue 830743003: Directly inline shared WebUI CSS declarations into the security and supervised user interstitials. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: review Created 5 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/extensions/file_manager/private_api_strings.h" 5 #include "chrome/browser/chromeos/extensions/file_manager/private_api_strings.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/sys_info.h" 8 #include "base/sys_info.h"
9 #include "chrome/browser/chromeos/file_manager/open_with_browser.h" 9 #include "chrome/browser/chromeos/file_manager/open_with_browser.h"
10 #include "chrome/grit/generated_resources.h" 10 #include "chrome/grit/generated_resources.h"
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 "GOOGLE_DRIVE_ERROR_HELP_URL", 534 "GOOGLE_DRIVE_ERROR_HELP_URL",
535 base::StringPrintf(kHelpURLFormat, kGoogleDriveErrorHelpNumber)); 535 base::StringPrintf(kHelpURLFormat, kGoogleDriveErrorHelpNumber));
536 dict->SetString("GOOGLE_DRIVE_HELP_URL", kGoogleDriveHelpUrl); 536 dict->SetString("GOOGLE_DRIVE_HELP_URL", kGoogleDriveHelpUrl);
537 dict->SetString("GOOGLE_DRIVE_OVERVIEW_URL", kGoogleDriveOverviewUrl); 537 dict->SetString("GOOGLE_DRIVE_OVERVIEW_URL", kGoogleDriveOverviewUrl);
538 dict->SetString("GOOGLE_DRIVE_REDEEM_URL", kGoogleDriveRedeemUrl); 538 dict->SetString("GOOGLE_DRIVE_REDEEM_URL", kGoogleDriveRedeemUrl);
539 dict->SetString("GOOGLE_DRIVE_ROOT_URL", kGoogleDriveRootUrl); 539 dict->SetString("GOOGLE_DRIVE_ROOT_URL", kGoogleDriveRootUrl);
540 dict->SetString( 540 dict->SetString(
541 "NO_ACTION_FOR_FILE_URL", 541 "NO_ACTION_FOR_FILE_URL",
542 base::StringPrintf(kHelpURLFormat, kNoActionForFileHelpNumber)); 542 base::StringPrintf(kHelpURLFormat, kNoActionForFileHelpNumber));
543 dict->SetString("UI_LOCALE", extension_l10n_util::CurrentLocaleOrDefault()); 543 dict->SetString("UI_LOCALE", extension_l10n_util::CurrentLocaleOrDefault());
544 webui::SetFontAndTextDirection(dict); 544 webui::SetTextDirection(dict);
545 return true; 545 return true;
546 } 546 }
547 547
548 } // namespace extensions 548 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698