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" |
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 "chromeos/chromeos_constants.h" | 15 #include "chromeos/chromeos_constants.h" |
16 #include "content/public/browser/web_ui.h" | 16 #include "content/public/browser/web_ui.h" |
17 #include "grit/chromium_strings.h" | 17 #include "grit/chromium_strings.h" |
18 #include "grit/generated_resources.h" | 18 #include "grit/generated_resources.h" |
19 #include "grit/locale_settings.h" | 19 #include "grit/locale_settings.h" |
20 #include "grit/theme_resources.h" | 20 #include "grit/theme_resources.h" |
21 #include "ui/base/l10n/l10n_util.h" | 21 #include "ui/base/l10n/l10n_util.h" |
22 #include "ui/base/resource/resource_bundle.h" | |
23 | 22 |
24 namespace chromeos { | 23 namespace chromeos { |
25 namespace options { | 24 namespace options { |
26 | 25 |
27 ProxyHandler::ProxyHandler() { | 26 ProxyHandler::ProxyHandler() { |
28 } | 27 } |
29 | 28 |
30 ProxyHandler::~ProxyHandler() { | 29 ProxyHandler::~ProxyHandler() { |
31 } | 30 } |
32 | 31 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 bool keyboard_driven_oobe = | 70 bool keyboard_driven_oobe = |
72 system::InputDeviceSettings::Get()->ForceKeyboardDrivenUINavigation(); | 71 system::InputDeviceSettings::Get()->ForceKeyboardDrivenUINavigation(); |
73 if (keyboard_driven_oobe) { | 72 if (keyboard_driven_oobe) { |
74 web_ui()->CallJavascriptFunction( | 73 web_ui()->CallJavascriptFunction( |
75 "DetailsInternetPage.initializeKeyboardFlow"); | 74 "DetailsInternetPage.initializeKeyboardFlow"); |
76 } | 75 } |
77 } | 76 } |
78 | 77 |
79 } // namespace options | 78 } // namespace options |
80 } // namespace chromeos | 79 } // namespace chromeos |
OLD | NEW |