| 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/chromeos/login/network_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/network_screen_handler.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "chrome/browser/chromeos/system/input_device_settings.h" | 25 #include "chrome/browser/chromeos/system/input_device_settings.h" |
| 26 #include "chrome/browser/chromeos/system/timezone_util.h" | 26 #include "chrome/browser/chromeos/system/timezone_util.h" |
| 27 #include "chrome/browser/ui/webui/chromeos/login/l10n_util.h" | 27 #include "chrome/browser/ui/webui/chromeos/login/l10n_util.h" |
| 28 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" | 28 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
| 29 #include "chrome/common/pref_names.h" | 29 #include "chrome/common/pref_names.h" |
| 30 #include "chrome/grit/generated_resources.h" | 30 #include "chrome/grit/generated_resources.h" |
| 31 #include "chromeos/chromeos_switches.h" | 31 #include "chromeos/chromeos_switches.h" |
| 32 #include "chromeos/network/network_handler.h" | 32 #include "chromeos/network/network_handler.h" |
| 33 #include "chromeos/network/network_state_handler.h" | 33 #include "chromeos/network/network_state_handler.h" |
| 34 #include "components/login/localized_values_builder.h" | 34 #include "components/login/localized_values_builder.h" |
| 35 #include "components/strings/grit/components_strings.h" |
| 35 #include "components/user_manager/user_manager.h" | 36 #include "components/user_manager/user_manager.h" |
| 36 #include "content/public/browser/browser_thread.h" | 37 #include "content/public/browser/browser_thread.h" |
| 37 #include "ui/base/ime/chromeos/extension_ime_util.h" | 38 #include "ui/base/ime/chromeos/extension_ime_util.h" |
| 38 #include "ui/base/l10n/l10n_util.h" | 39 #include "ui/base/l10n/l10n_util.h" |
| 39 #include "ui/gfx/geometry/rect.h" | 40 #include "ui/gfx/geometry/rect.h" |
| 40 #include "ui/views/layout/fill_layout.h" | 41 #include "ui/views/layout/fill_layout.h" |
| 41 #include "ui/views/widget/widget.h" | 42 #include "ui/views/widget/widget.h" |
| 42 | 43 |
| 43 namespace { | 44 namespace { |
| 44 | 45 |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 timezone_option->SetString("value", timezone_id); | 260 timezone_option->SetString("value", timezone_id); |
| 260 timezone_option->SetString("title", timezone_name); | 261 timezone_option->SetString("title", timezone_name); |
| 261 timezone_option->SetBoolean("selected", timezone_id == current_timezone_id); | 262 timezone_option->SetBoolean("selected", timezone_id == current_timezone_id); |
| 262 timezone_list->Append(timezone_option.release()); | 263 timezone_list->Append(timezone_option.release()); |
| 263 } | 264 } |
| 264 | 265 |
| 265 return timezone_list.release(); | 266 return timezone_list.release(); |
| 266 } | 267 } |
| 267 | 268 |
| 268 } // namespace chromeos | 269 } // namespace chromeos |
| OLD | NEW |