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/chromeos/login/webui_screen_locker.h" | 5 #include "chrome/browser/chromeos/login/webui_screen_locker.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/wm/lock_state_controller.h" | 8 #include "ash/wm/lock_state_controller.h" |
9 #include "ash/wm/lock_state_observer.h" | 9 #include "ash/wm/lock_state_observer.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" | 21 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
22 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" | 22 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
23 #include "chrome/common/url_constants.h" | 23 #include "chrome/common/url_constants.h" |
24 #include "chromeos/dbus/dbus_thread_manager.h" | 24 #include "chromeos/dbus/dbus_thread_manager.h" |
25 #include "content/public/browser/browser_thread.h" | 25 #include "content/public/browser/browser_thread.h" |
26 #include "content/public/browser/notification_service.h" | 26 #include "content/public/browser/notification_service.h" |
27 #include "content/public/browser/notification_types.h" | 27 #include "content/public/browser/notification_types.h" |
28 #include "content/public/browser/render_widget_host_view.h" | 28 #include "content/public/browser/render_widget_host_view.h" |
29 #include "content/public/browser/web_ui.h" | 29 #include "content/public/browser/web_ui.h" |
30 #include "ui/aura/client/capture_client.h" | 30 #include "ui/aura/client/capture_client.h" |
31 #include "ui/aura/root_window.h" | 31 #include "ui/aura/window_event_dispatcher.h" |
32 #include "ui/base/l10n/l10n_util.h" | 32 #include "ui/base/l10n/l10n_util.h" |
33 #include "ui/base/x/x11_util.h" | 33 #include "ui/base/x/x11_util.h" |
34 #include "ui/gfx/screen.h" | 34 #include "ui/gfx/screen.h" |
35 #include "ui/views/controls/webview/webview.h" | 35 #include "ui/views/controls/webview/webview.h" |
36 | 36 |
37 namespace { | 37 namespace { |
38 | 38 |
39 // URL which corresponds to the login WebUI. | 39 // URL which corresponds to the login WebUI. |
40 const char kLoginURL[] = "chrome://oobe/lock"; | 40 const char kLoginURL[] = "chrome://oobe/lock"; |
41 | 41 |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 | 334 |
335 void WebUIScreenLocker::RenderProcessGone(base::TerminationStatus status) { | 335 void WebUIScreenLocker::RenderProcessGone(base::TerminationStatus status) { |
336 if (browser_shutdown::GetShutdownType() == browser_shutdown::NOT_VALID && | 336 if (browser_shutdown::GetShutdownType() == browser_shutdown::NOT_VALID && |
337 status != base::TERMINATION_STATUS_NORMAL_TERMINATION) { | 337 status != base::TERMINATION_STATUS_NORMAL_TERMINATION) { |
338 LOG(ERROR) << "Renderer crash on lock screen"; | 338 LOG(ERROR) << "Renderer crash on lock screen"; |
339 Signout(); | 339 Signout(); |
340 } | 340 } |
341 } | 341 } |
342 | 342 |
343 } // namespace chromeos | 343 } // namespace chromeos |
OLD | NEW |