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/lock/webui_screen_locker.h" | 5 #include "chrome/browser/chromeos/login/lock/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 12 matching lines...) Expand all Loading... |
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 "components/user_manager/user.h" | 25 #include "components/user_manager/user.h" |
26 #include "content/public/browser/browser_thread.h" | 26 #include "content/public/browser/browser_thread.h" |
27 #include "content/public/browser/notification_service.h" | 27 #include "content/public/browser/notification_service.h" |
28 #include "content/public/browser/notification_types.h" | 28 #include "content/public/browser/notification_types.h" |
29 #include "content/public/browser/render_widget_host_view.h" | 29 #include "content/public/browser/render_widget_host_view.h" |
30 #include "content/public/browser/web_ui.h" | 30 #include "content/public/browser/web_ui.h" |
31 #include "ui/aura/client/capture_client.h" | 31 #include "ui/aura/client/capture_client.h" |
32 #include "ui/aura/window_event_dispatcher.h" | 32 #include "ui/aura/window_event_dispatcher.h" |
33 #include "ui/base/l10n/l10n_util.h" | |
34 #include "ui/base/x/x11_util.h" | 33 #include "ui/base/x/x11_util.h" |
35 #include "ui/gfx/screen.h" | 34 #include "ui/gfx/screen.h" |
36 #include "ui/keyboard/keyboard_controller.h" | 35 #include "ui/keyboard/keyboard_controller.h" |
37 #include "ui/keyboard/keyboard_util.h" | 36 #include "ui/keyboard/keyboard_util.h" |
38 #include "ui/views/controls/webview/webview.h" | 37 #include "ui/views/controls/webview/webview.h" |
39 | 38 |
40 namespace { | 39 namespace { |
41 | 40 |
42 // URL which corresponds to the login WebUI. | 41 // URL which corresponds to the login WebUI. |
43 const char kLoginURL[] = "chrome://oobe/lock"; | 42 const char kLoginURL[] = "chrome://oobe/lock"; |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 GetOobeUI()->GetCoreOobeActor()->ShowControlBar(false); | 379 GetOobeUI()->GetCoreOobeActor()->ShowControlBar(false); |
381 if (login::LoginScrollIntoViewEnabled()) | 380 if (login::LoginScrollIntoViewEnabled()) |
382 GetOobeUI()->GetCoreOobeActor()->SetKeyboardState(true, new_bounds); | 381 GetOobeUI()->GetCoreOobeActor()->SetKeyboardState(true, new_bounds); |
383 } | 382 } |
384 } | 383 } |
385 | 384 |
386 keyboard_bounds_ = new_bounds; | 385 keyboard_bounds_ = new_bounds; |
387 } | 386 } |
388 | 387 |
389 } // namespace chromeos | 388 } // namespace chromeos |
OLD | NEW |