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