| 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/ui/webui/options/chromeos/proxy_handler.h" | 5 #include "chrome/browser/ui/webui/options/chromeos/proxy_handler.h" |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_PROXY_ENABLE_SHARED_HINT, | 61 IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_PROXY_ENABLE_SHARED_HINT, |
| 62 l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_USE_SHARED_PROXIES))); | 62 l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_USE_SHARED_PROXIES))); |
| 63 } | 63 } |
| 64 | 64 |
| 65 void ProxyHandler::InitializePage() { | 65 void ProxyHandler::InitializePage() { |
| 66 ::options::OptionsPageUIHandler::InitializePage(); | 66 ::options::OptionsPageUIHandler::InitializePage(); |
| 67 | 67 |
| 68 bool keyboard_driven_oobe = | 68 bool keyboard_driven_oobe = |
| 69 system::InputDeviceSettings::Get()->ForceKeyboardDrivenUINavigation(); | 69 system::InputDeviceSettings::Get()->ForceKeyboardDrivenUINavigation(); |
| 70 if (keyboard_driven_oobe) { | 70 if (keyboard_driven_oobe) { |
| 71 web_ui()->CallJavascriptFunction( | 71 web_ui()->CallJavascriptFunctionUnsafe( |
| 72 "DetailsInternetPage.initializeKeyboardFlow"); | 72 "DetailsInternetPage.initializeKeyboardFlow"); |
| 73 } | 73 } |
| 74 } | 74 } |
| 75 | 75 |
| 76 } // namespace options | 76 } // namespace options |
| 77 } // namespace chromeos | 77 } // namespace chromeos |
| OLD | NEW |