| 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/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/callback.h" | 8 #include "base/callback.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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 l10n_util::GetStringFUTF16( | 63 l10n_util::GetStringFUTF16( |
| 64 IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_PROXY_ENABLE_SHARED_HINT, | 64 IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_PROXY_ENABLE_SHARED_HINT, |
| 65 l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_USE_SHARED_PROXIES))); | 65 l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_USE_SHARED_PROXIES))); |
| 66 } | 66 } |
| 67 | 67 |
| 68 void ProxyHandler::InitializePage() { | 68 void ProxyHandler::InitializePage() { |
| 69 ::options::OptionsPageUIHandler::InitializePage(); | 69 ::options::OptionsPageUIHandler::InitializePage(); |
| 70 | 70 |
| 71 bool keyboard_driven_oobe = false; | 71 bool keyboard_driven_oobe = false; |
| 72 system::StatisticsProvider::GetInstance()->GetMachineFlag( | 72 system::StatisticsProvider::GetInstance()->GetMachineFlag( |
| 73 chromeos::kOemKeyboardDrivenOobeKey, &keyboard_driven_oobe); | 73 chromeos::system::kOemKeyboardDrivenOobeKey, &keyboard_driven_oobe); |
| 74 if (keyboard_driven_oobe) { | 74 if (keyboard_driven_oobe) { |
| 75 web_ui()->CallJavascriptFunction( | 75 web_ui()->CallJavascriptFunction( |
| 76 "DetailsInternetPage.initializeKeyboardFlow"); | 76 "DetailsInternetPage.initializeKeyboardFlow"); |
| 77 } | 77 } |
| 78 } | 78 } |
| 79 | 79 |
| 80 } // namespace options | 80 } // namespace options |
| 81 } // namespace chromeos | 81 } // namespace chromeos |
| OLD | NEW |