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/time.h" | 11 #include "base/time.h" |
11 #include "base/utf_string_conversions.h" | |
12 #include "base/values.h" | 12 #include "base/values.h" |
13 #include "chrome/browser/chromeos/system/statistics_provider.h" | 13 #include "chrome/browser/chromeos/system/statistics_provider.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" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 system::StatisticsProvider::GetInstance()->GetMachineFlag( | 72 system::StatisticsProvider::GetInstance()->GetMachineFlag( |
73 chromeos::kOemKeyboardDrivenOobeKey, &keyboard_driven_oobe); | 73 chromeos::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 |