OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ui/webui/chromeos/login/eula_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/eula_screen_handler.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
11 #include "chrome/browser/chromeos/login/help_app_launcher.h" | 11 #include "chrome/browser/chromeos/login/help_app_launcher.h" |
12 #include "chrome/browser/chromeos/login/helper.h" | 12 #include "chrome/browser/chromeos/login/helper.h" |
13 #include "chrome/browser/chromeos/login/screens/core_oobe_actor.h" | 13 #include "chrome/browser/chromeos/login/screens/core_oobe_actor.h" |
14 #include "chrome/browser/chromeos/login/screens/eula_model.h" | 14 #include "chrome/browser/chromeos/login/screens/eula_model.h" |
15 #include "chrome/browser/chromeos/login/ui/login_web_dialog.h" | 15 #include "chrome/browser/chromeos/login/ui/login_web_dialog.h" |
16 #include "chrome/browser/chromeos/login/ui/webui_login_display.h" | 16 #include "chrome/browser/chromeos/login/ui/webui_login_display.h" |
17 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
18 #include "chrome/browser/ui/webui/chromeos/login/oobe_screen.h" | 18 #include "chrome/browser/ui/webui/chromeos/login/oobe_screen.h" |
19 #include "chrome/common/url_constants.h" | 19 #include "chrome/common/url_constants.h" |
20 #include "chrome/grit/chromium_strings.h" | 20 #include "chrome/grit/chromium_strings.h" |
21 #include "chrome/grit/generated_resources.h" | 21 #include "chrome/grit/generated_resources.h" |
22 #include "chrome/grit/locale_settings.h" | 22 #include "chrome/grit/locale_settings.h" |
23 #include "components/login/localized_values_builder.h" | 23 #include "components/login/localized_values_builder.h" |
| 24 #include "components/strings/grit/components_strings.h" |
24 #include "content/public/browser/web_contents.h" | 25 #include "content/public/browser/web_contents.h" |
25 #include "grit/components_strings.h" | |
26 #include "ui/base/l10n/l10n_util.h" | 26 #include "ui/base/l10n/l10n_util.h" |
27 #include "ui/views/widget/widget.h" | 27 #include "ui/views/widget/widget.h" |
28 #include "url/gurl.h" | 28 #include "url/gurl.h" |
29 | 29 |
30 namespace { | 30 namespace { |
31 | 31 |
32 const char kJsScreenPath[] = "login.EulaScreen"; | 32 const char kJsScreenPath[] = "login.EulaScreen"; |
33 | 33 |
34 // Helper class to tweak display details of credits pages in the context | 34 // Helper class to tweak display details of credits pages in the context |
35 // of OOBE/EULA step. | 35 // of OOBE/EULA step. |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 IDS_ABOUT_VERSION_LICENSE_EULA, | 215 IDS_ABOUT_VERSION_LICENSE_EULA, |
216 GURL(chrome::kChromeUICreditsURL)); | 216 GURL(chrome::kChromeUICreditsURL)); |
217 } | 217 } |
218 | 218 |
219 void EulaScreenHandler::HandleOnInstallationSettingsPopupOpened() { | 219 void EulaScreenHandler::HandleOnInstallationSettingsPopupOpened() { |
220 if (model_) | 220 if (model_) |
221 model_->InitiatePasswordFetch(); | 221 model_->InitiatePasswordFetch(); |
222 } | 222 } |
223 | 223 |
224 } // namespace chromeos | 224 } // namespace chromeos |
OLD | NEW |