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" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "base/values.h" | 12 #include "base/values.h" |
13 #include "chrome/browser/chromeos/system/input_device_settings.h" | 13 #include "chrome/browser/chromeos/system/input_device_settings.h" |
14 #include "chrome/common/chrome_constants.h" | 14 #include "chrome/common/chrome_constants.h" |
15 #include "chrome/grit/generated_resources.h" | 15 #include "chrome/grit/generated_resources.h" |
16 #include "chrome/grit/locale_settings.h" | |
17 #include "chromeos/chromeos_constants.h" | 16 #include "chromeos/chromeos_constants.h" |
18 #include "content/public/browser/web_ui.h" | 17 #include "content/public/browser/web_ui.h" |
19 #include "ui/base/l10n/l10n_util.h" | 18 #include "ui/base/l10n/l10n_util.h" |
20 | 19 |
21 namespace chromeos { | 20 namespace chromeos { |
22 namespace options { | 21 namespace options { |
23 | 22 |
24 ProxyHandler::ProxyHandler() { | 23 ProxyHandler::ProxyHandler() { |
25 } | 24 } |
26 | 25 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 bool keyboard_driven_oobe = | 67 bool keyboard_driven_oobe = |
69 system::InputDeviceSettings::Get()->ForceKeyboardDrivenUINavigation(); | 68 system::InputDeviceSettings::Get()->ForceKeyboardDrivenUINavigation(); |
70 if (keyboard_driven_oobe) { | 69 if (keyboard_driven_oobe) { |
71 web_ui()->CallJavascriptFunctionUnsafe( | 70 web_ui()->CallJavascriptFunctionUnsafe( |
72 "DetailsInternetPage.initializeKeyboardFlow"); | 71 "DetailsInternetPage.initializeKeyboardFlow"); |
73 } | 72 } |
74 } | 73 } |
75 | 74 |
76 } // namespace options | 75 } // namespace options |
77 } // namespace chromeos | 76 } // namespace chromeos |
OLD | NEW |