OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_login_view.h" | 5 #include "chrome/browser/chromeos/login/webui_login_view.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "chrome/browser/chromeos/accessibility_util.h" | 12 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" |
13 #include "chrome/browser/chromeos/cros/cros_library.h" | 13 #include "chrome/browser/chromeos/cros/cros_library.h" |
14 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" | 14 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" |
15 #include "chrome/browser/chromeos/dbus/session_manager_client.h" | 15 #include "chrome/browser/chromeos/dbus/session_manager_client.h" |
16 #include "chrome/browser/chromeos/login/proxy_settings_dialog.h" | 16 #include "chrome/browser/chromeos/login/proxy_settings_dialog.h" |
17 #include "chrome/browser/chromeos/login/webui_login_display.h" | 17 #include "chrome/browser/chromeos/login/webui_login_display.h" |
18 #include "chrome/browser/chromeos/status/status_area_view_chromeos.h" | 18 #include "chrome/browser/chromeos/status/status_area_view_chromeos.h" |
19 #include "chrome/browser/profiles/profile_manager.h" | 19 #include "chrome/browser/profiles/profile_manager.h" |
20 #include "chrome/browser/ui/views/dom_view.h" | 20 #include "chrome/browser/ui/views/dom_view.h" |
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/common/render_messages.h" | 22 #include "chrome/common/render_messages.h" |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 // when the focus is inside an iframe. Only clear on KeyDown to prevent hiding | 405 // when the focus is inside an iframe. Only clear on KeyDown to prevent hiding |
406 // an immediate authentication error (See crbug.com/103643). | 406 // an immediate authentication error (See crbug.com/103643). |
407 if (event.type == WebKit::WebInputEvent::KeyDown) { | 407 if (event.type == WebKit::WebInputEvent::KeyDown) { |
408 WebUI* web_ui = GetWebUI(); | 408 WebUI* web_ui = GetWebUI(); |
409 if (web_ui) | 409 if (web_ui) |
410 web_ui->CallJavascriptFunction("cr.ui.Oobe.clearErrors"); | 410 web_ui->CallJavascriptFunction("cr.ui.Oobe.clearErrors"); |
411 } | 411 } |
412 } | 412 } |
413 | 413 |
414 } // namespace chromeos | 414 } // namespace chromeos |
OLD | NEW |