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

Side by Side Diff: chrome/browser/chromeos/extensions/first_run_private_api.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/first_run_private_api.h" 5 #include "chrome/browser/chromeos/extensions/first_run_private_api.h"
6 6
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram.h"
8 #include "chrome/browser/chromeos/first_run/first_run.h" 8 #include "chrome/browser/chromeos/first_run/first_run.h"
9 #include "chrome/browser/chromeos/profiles/profile_helper.h" 9 #include "chrome/browser/chromeos/profiles/profile_helper.h"
10 #include "chrome/browser/profiles/profile_manager.h" 10 #include "chrome/browser/profiles/profile_manager.h"
(...skipping 27 matching lines...) Expand all
38 localized_strings->SetString( 38 localized_strings->SetString(
39 "greetingText2", 39 "greetingText2",
40 l10n_util::GetStringFUTF16(IDS_FIRST_RUN_GREETING_STEP_TEXT_2, 40 l10n_util::GetStringFUTF16(IDS_FIRST_RUN_GREETING_STEP_TEXT_2,
41 product_name)); 41 product_name));
42 localized_strings->SetString( 42 localized_strings->SetString(
43 "greetingButton", 43 "greetingButton",
44 l10n_util::GetStringUTF16(IDS_FIRST_RUN_GREETING_STEP_BUTTON)); 44 l10n_util::GetStringUTF16(IDS_FIRST_RUN_GREETING_STEP_BUTTON));
45 localized_strings->SetString( 45 localized_strings->SetString(
46 "closeButton", 46 "closeButton",
47 l10n_util::GetStringUTF16(IDS_CLOSE)); 47 l10n_util::GetStringUTF16(IDS_CLOSE));
48 webui::SetFontAndTextDirection(localized_strings); 48 webui::SetTextDirection(localized_strings);
49 SetResult(localized_strings); 49 SetResult(localized_strings);
50 return true; 50 return true;
51 } 51 }
52 52
53 bool FirstRunPrivateLaunchTutorialFunction::RunSync() { 53 bool FirstRunPrivateLaunchTutorialFunction::RunSync() {
54 chromeos::first_run::LaunchTutorial(); 54 chromeos::first_run::LaunchTutorial();
55 return true; 55 return true;
56 } 56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698