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/app_launch_splash_screen_handle
r.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handle
r.h" |
6 | 6 |
7 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 7 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
8 #include "chrome/browser/chromeos/login/screens/error_screen_actor.h" | 8 #include "chrome/browser/chromeos/login/screens/error_screen_actor.h" |
9 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" | 9 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
10 #include "chrome/grit/chromium_strings.h" | 10 #include "chrome/grit/chromium_strings.h" |
11 #include "chrome/grit/generated_resources.h" | 11 #include "chrome/grit/generated_resources.h" |
12 #include "chromeos/network/network_state.h" | 12 #include "chromeos/network/network_state.h" |
13 #include "chromeos/network/network_state_handler.h" | 13 #include "chromeos/network/network_state_handler.h" |
14 #include "grit/browser_resources.h" | |
15 #include "grit/chrome_unscaled_resources.h" | 14 #include "grit/chrome_unscaled_resources.h" |
16 #include "ui/base/l10n/l10n_util.h" | 15 #include "ui/base/l10n/l10n_util.h" |
17 #include "ui/base/resource/resource_bundle.h" | 16 #include "ui/base/resource/resource_bundle.h" |
18 #include "ui/base/webui/web_ui_util.h" | 17 #include "ui/base/webui/web_ui_util.h" |
19 | 18 |
20 namespace { | 19 namespace { |
21 | 20 |
22 const char kJsScreenPath[] = "login.AppLaunchSplashScreen"; | 21 const char kJsScreenPath[] = "login.AppLaunchSplashScreen"; |
23 | 22 |
24 // Returns network name by service path. | 23 // Returns network name by service path. |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 DCHECK(online_state_); | 282 DCHECK(online_state_); |
284 if (delegate_ && online_state_) { | 283 if (delegate_ && online_state_) { |
285 network_config_requested_ = false; | 284 network_config_requested_ = false; |
286 network_config_done_ = true; | 285 network_config_done_ = true; |
287 delegate_->OnNetworkConfigRequested(false); | 286 delegate_->OnNetworkConfigRequested(false); |
288 Show(app_id_); | 287 Show(app_id_); |
289 } | 288 } |
290 } | 289 } |
291 | 290 |
292 } // namespace chromeos | 291 } // namespace chromeos |
OLD | NEW |