| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/ui/webui_login_view.h" | 5 #include "chrome/browser/chromeos/login/ui/webui_login_view.h" |
| 6 | 6 |
| 7 #include "ash/common/focus_cycler.h" | 7 #include "ash/common/focus_cycler.h" |
| 8 #include "ash/common/system/status_area_widget_delegate.h" | 8 #include "ash/common/system/status_area_widget_delegate.h" |
| 9 #include "ash/common/system/tray/system_tray.h" | 9 #include "ash/common/system/tray/system_tray.h" |
| 10 #include "ash/common/wm_shell.h" | 10 #include "ash/common/wm_shell.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "components/web_modal/web_contents_modal_dialog_manager.h" | 43 #include "components/web_modal/web_contents_modal_dialog_manager.h" |
| 44 #include "content/public/browser/notification_service.h" | 44 #include "content/public/browser/notification_service.h" |
| 45 #include "content/public/browser/render_frame_host.h" | 45 #include "content/public/browser/render_frame_host.h" |
| 46 #include "content/public/browser/render_view_host.h" | 46 #include "content/public/browser/render_view_host.h" |
| 47 #include "content/public/browser/render_widget_host.h" | 47 #include "content/public/browser/render_widget_host.h" |
| 48 #include "content/public/browser/render_widget_host_view.h" | 48 #include "content/public/browser/render_widget_host_view.h" |
| 49 #include "content/public/browser/web_contents.h" | 49 #include "content/public/browser/web_contents.h" |
| 50 #include "content/public/browser/web_ui.h" | 50 #include "content/public/browser/web_ui.h" |
| 51 #include "content/public/common/renderer_preferences.h" | 51 #include "content/public/common/renderer_preferences.h" |
| 52 #include "extensions/browser/view_type_utils.h" | 52 #include "extensions/browser/view_type_utils.h" |
| 53 #include "third_party/WebKit/public/web/WebInputEvent.h" | 53 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 54 #include "ui/gfx/geometry/rect.h" | 54 #include "ui/gfx/geometry/rect.h" |
| 55 #include "ui/gfx/geometry/size.h" | 55 #include "ui/gfx/geometry/size.h" |
| 56 #include "ui/views/controls/webview/webview.h" | 56 #include "ui/views/controls/webview/webview.h" |
| 57 #include "ui/views/focus/focus_manager.h" | 57 #include "ui/views/focus/focus_manager.h" |
| 58 #include "ui/views/focus/focus_search.h" | 58 #include "ui/views/focus/focus_search.h" |
| 59 #include "ui/views/widget/widget.h" | 59 #include "ui/views/widget/widget.h" |
| 60 | 60 |
| 61 using content::NativeWebKeyboardEvent; | 61 using content::NativeWebKeyboardEvent; |
| 62 using content::RenderViewHost; | 62 using content::RenderViewHost; |
| 63 using content::WebContents; | 63 using content::WebContents; |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 if (should_emit_login_prompt_visible_) { | 608 if (should_emit_login_prompt_visible_) { |
| 609 VLOG(1) << "Login WebUI >> login-prompt-visible"; | 609 VLOG(1) << "Login WebUI >> login-prompt-visible"; |
| 610 chromeos::DBusThreadManager::Get()->GetSessionManagerClient()-> | 610 chromeos::DBusThreadManager::Get()->GetSessionManagerClient()-> |
| 611 EmitLoginPromptVisible(); | 611 EmitLoginPromptVisible(); |
| 612 } | 612 } |
| 613 | 613 |
| 614 webui_visible_ = true; | 614 webui_visible_ = true; |
| 615 } | 615 } |
| 616 | 616 |
| 617 } // namespace chromeos | 617 } // namespace chromeos |
| OLD | NEW |