OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "chrome/browser/chromeos/login/help_app_launcher.h" | 12 #include "chrome/browser/chromeos/login/help_app_launcher.h" |
13 #include "chrome/browser/chromeos/login/webui_login_display.h" | 13 #include "chrome/browser/chromeos/login/webui_login_display.h" |
14 #include "chrome/common/url_constants.h" | 14 #include "chrome/common/url_constants.h" |
15 #include "grit/browser_resources.h" | 15 #include "grit/browser_resources.h" |
16 #include "grit/chromium_strings.h" | 16 #include "grit/chromium_strings.h" |
17 #include "grit/generated_resources.h" | 17 #include "grit/generated_resources.h" |
18 #include "ui/base/l10n/l10n_util.h" | 18 #include "ui/base/l10n/l10n_util.h" |
19 #include "views/widget/widget.h" | 19 #include "ui/views/widget/widget.h" |
20 | 20 |
21 namespace { | 21 namespace { |
22 | 22 |
23 // Eula screen id. | 23 // Eula screen id. |
24 const char kEulaScreen[] = "eula"; | 24 const char kEulaScreen[] = "eula"; |
25 | 25 |
26 } // namespace | 26 } // namespace |
27 | 27 |
28 namespace chromeos { | 28 namespace chromeos { |
29 | 29 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 help_app_->ShowHelpTopic(HelpAppLauncher::HELP_STATS_USAGE); | 141 help_app_->ShowHelpTopic(HelpAppLauncher::HELP_STATS_USAGE); |
142 } | 142 } |
143 | 143 |
144 void EulaScreenHandler::HandleOnTpmPopupOpened(const base::ListValue* args) { | 144 void EulaScreenHandler::HandleOnTpmPopupOpened(const base::ListValue* args) { |
145 if (!delegate_) | 145 if (!delegate_) |
146 return; | 146 return; |
147 delegate_->InitiatePasswordFetch(); | 147 delegate_->InitiatePasswordFetch(); |
148 } | 148 } |
149 | 149 |
150 } // namespace chromeos | 150 } // namespace chromeos |
OLD | NEW |