OLD | NEW |
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/ui/webui/chromeos/login/kiosk_autolaunch_screen_handler
.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/kiosk_autolaunch_screen_handler
.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
11 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
12 #include "chrome/browser/chrome_notification_types.h" | 12 #include "chrome/browser/chrome_notification_types.h" |
13 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 13 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
14 #include "chrome/browser/ui/webui/chromeos/login/oobe_screen.h" | 14 #include "chrome/browser/ui/webui/chromeos/login/oobe_screen.h" |
15 #include "chrome/common/chrome_switches.h" | 15 #include "chrome/common/chrome_switches.h" |
16 #include "chrome/grit/generated_resources.h" | 16 #include "chrome/grit/generated_resources.h" |
17 #include "chromeos/chromeos_switches.h" | 17 #include "chromeos/chromeos_switches.h" |
18 #include "chromeos/dbus/dbus_thread_manager.h" | 18 #include "chromeos/dbus/dbus_thread_manager.h" |
19 #include "chromeos/dbus/session_manager_client.h" | 19 #include "chromeos/dbus/session_manager_client.h" |
20 #include "components/login/localized_values_builder.h" | 20 #include "components/login/localized_values_builder.h" |
21 #include "components/prefs/pref_service.h" | 21 #include "components/prefs/pref_service.h" |
| 22 #include "components/strings/grit/components_strings.h" |
22 #include "content/public/browser/notification_details.h" | 23 #include "content/public/browser/notification_details.h" |
23 #include "content/public/browser/notification_service.h" | 24 #include "content/public/browser/notification_service.h" |
24 #include "grit/components_strings.h" | |
25 #include "ui/base/webui/web_ui_util.h" | 25 #include "ui/base/webui/web_ui_util.h" |
26 | 26 |
27 namespace { | 27 namespace { |
28 | 28 |
29 const char kJsScreenPath[] = "login.AutolaunchScreen"; | 29 const char kJsScreenPath[] = "login.AutolaunchScreen"; |
30 | 30 |
31 } // namespace | 31 } // namespace |
32 | 32 |
33 namespace chromeos { | 33 namespace chromeos { |
34 | 34 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 void KioskAutolaunchScreenHandler::OnKioskAppsSettingsChanged() { | 153 void KioskAutolaunchScreenHandler::OnKioskAppsSettingsChanged() { |
154 UpdateKioskApp(); | 154 UpdateKioskApp(); |
155 } | 155 } |
156 | 156 |
157 void KioskAutolaunchScreenHandler::OnKioskAppDataChanged( | 157 void KioskAutolaunchScreenHandler::OnKioskAppDataChanged( |
158 const std::string& app_id) { | 158 const std::string& app_id) { |
159 UpdateKioskApp(); | 159 UpdateKioskApp(); |
160 } | 160 } |
161 | 161 |
162 } // namespace chromeos | 162 } // namespace chromeos |
OLD | NEW |