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/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chrome/browser/chromeos/login/ui/input_events_blocker.h" | 21 #include "chrome/browser/chromeos/login/ui/input_events_blocker.h" |
22 #include "chrome/browser/chromeos/system/input_device_settings.h" | 22 #include "chrome/browser/chromeos/system/input_device_settings.h" |
23 #include "chrome/browser/chromeos/system/timezone_util.h" | 23 #include "chrome/browser/chromeos/system/timezone_util.h" |
24 #include "chrome/browser/ui/webui/chromeos/login/l10n_util.h" | 24 #include "chrome/browser/ui/webui/chromeos/login/l10n_util.h" |
25 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" | 25 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
26 #include "chrome/common/pref_names.h" | 26 #include "chrome/common/pref_names.h" |
27 #include "chromeos/chromeos_switches.h" | 27 #include "chromeos/chromeos_switches.h" |
28 #include "chromeos/ime/extension_ime_util.h" | 28 #include "chromeos/ime/extension_ime_util.h" |
29 #include "chromeos/network/network_handler.h" | 29 #include "chromeos/network/network_handler.h" |
30 #include "chromeos/network/network_state_handler.h" | 30 #include "chromeos/network/network_state_handler.h" |
31 #include "grit/chromium_strings.h" | |
32 #include "grit/generated_resources.h" | 31 #include "grit/generated_resources.h" |
33 #include "ui/base/l10n/l10n_util.h" | 32 #include "ui/base/l10n/l10n_util.h" |
34 #include "ui/gfx/rect.h" | 33 #include "ui/gfx/rect.h" |
35 #include "ui/views/layout/fill_layout.h" | 34 #include "ui/views/layout/fill_layout.h" |
36 #include "ui/views/widget/widget.h" | 35 #include "ui/views/widget/widget.h" |
37 | 36 |
38 namespace { | 37 namespace { |
39 | 38 |
40 const char kJsScreenPath[] = "login.NetworkScreen"; | 39 const char kJsScreenPath[] = "login.NetworkScreen"; |
41 | 40 |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 timezone_option->SetString("value", timezone_id); | 358 timezone_option->SetString("value", timezone_id); |
360 timezone_option->SetString("title", timezone_name); | 359 timezone_option->SetString("title", timezone_name); |
361 timezone_option->SetBoolean("selected", timezone_id == current_timezone_id); | 360 timezone_option->SetBoolean("selected", timezone_id == current_timezone_id); |
362 timezone_list->Append(timezone_option.release()); | 361 timezone_list->Append(timezone_option.release()); |
363 } | 362 } |
364 | 363 |
365 return timezone_list.release(); | 364 return timezone_list.release(); |
366 } | 365 } |
367 | 366 |
368 } // namespace chromeos | 367 } // namespace chromeos |
OLD | NEW |