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

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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 "GOOGLE_DRIVE_ERROR_HELP_URL", 535 "GOOGLE_DRIVE_ERROR_HELP_URL",
536 base::StringPrintf(kHelpURLFormat, kGoogleDriveErrorHelpNumber)); 536 base::StringPrintf(kHelpURLFormat, kGoogleDriveErrorHelpNumber));
537 dict->SetString("GOOGLE_DRIVE_HELP_URL", kGoogleDriveHelpUrl); 537 dict->SetString("GOOGLE_DRIVE_HELP_URL", kGoogleDriveHelpUrl);
538 dict->SetString("GOOGLE_DRIVE_OVERVIEW_URL", kGoogleDriveOverviewUrl); 538 dict->SetString("GOOGLE_DRIVE_OVERVIEW_URL", kGoogleDriveOverviewUrl);
539 dict->SetString("GOOGLE_DRIVE_REDEEM_URL", kGoogleDriveRedeemUrl); 539 dict->SetString("GOOGLE_DRIVE_REDEEM_URL", kGoogleDriveRedeemUrl);
540 dict->SetString("GOOGLE_DRIVE_ROOT_URL", kGoogleDriveRootUrl); 540 dict->SetString("GOOGLE_DRIVE_ROOT_URL", kGoogleDriveRootUrl);
541 dict->SetString( 541 dict->SetString(
542 "NO_ACTION_FOR_FILE_URL", 542 "NO_ACTION_FOR_FILE_URL",
543 base::StringPrintf(kHelpURLFormat, kNoActionForFileHelpNumber)); 543 base::StringPrintf(kHelpURLFormat, kNoActionForFileHelpNumber));
544 dict->SetString("UI_LOCALE", extension_l10n_util::CurrentLocaleOrDefault()); 544 dict->SetString("UI_LOCALE", extension_l10n_util::CurrentLocaleOrDefault());
545 webui::SetFontAndTextDirection(dict); 545 webui::SetTextDirection(dict);
546 return true; 546 return true;
547 } 547 }
548 548
549 } // namespace extensions 549 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/first_run_private_api.cc » ('j') | ui/base/webui/web_ui_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698