Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: chrome/browser/chromeos/webui/internet_options_handler.cc

Issue 6541006: WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/chromeos/webui/internet_options_handler.h" 5 #include "chrome/browser/chromeos/webui/internet_options_handler.h"
6 6
7 #include <ctype.h> 7 #include <ctype.h>
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/base64.h" 13 #include "base/base64.h"
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/i18n/time_formatting.h" 16 #include "base/i18n/time_formatting.h"
17 #include "base/string16.h" 17 #include "base/string16.h"
18 #include "base/string_number_conversions.h" 18 #include "base/string_number_conversions.h"
19 #include "base/time.h" 19 #include "base/time.h"
20 #include "base/utf_string_conversions.h" 20 #include "base/utf_string_conversions.h"
21 #include "base/values.h" 21 #include "base/values.h"
22 #include "chrome/browser/browser_list.h" 22 #include "chrome/browser/browser_list.h"
23 #include "chrome/browser/browser_window.h" 23 #include "chrome/browser/browser_window.h"
24 #include "chrome/browser/chromeos/cros/cros_library.h" 24 #include "chrome/browser/chromeos/cros/cros_library.h"
25 #include "chrome/browser/chromeos/login/user_manager.h" 25 #include "chrome/browser/chromeos/login/user_manager.h"
26 #include "chrome/browser/chromeos/status/network_menu.h" 26 #include "chrome/browser/chromeos/status/network_menu.h"
27 #include "chrome/browser/dom_ui/web_ui_util.h"
28 #include "chrome/browser/ui/browser.h" 27 #include "chrome/browser/ui/browser.h"
29 #include "chrome/browser/ui/views/window.h" 28 #include "chrome/browser/ui/views/window.h"
29 #include "chrome/browser/webui/web_ui_util.h"
30 #include "chrome/common/time_format.h" 30 #include "chrome/common/time_format.h"
31 #include "grit/browser_resources.h" 31 #include "grit/browser_resources.h"
32 #include "grit/chromium_strings.h" 32 #include "grit/chromium_strings.h"
33 #include "grit/generated_resources.h" 33 #include "grit/generated_resources.h"
34 #include "grit/locale_settings.h" 34 #include "grit/locale_settings.h"
35 #include "grit/theme_resources.h" 35 #include "grit/theme_resources.h"
36 #include "third_party/skia/include/core/SkBitmap.h" 36 #include "third_party/skia/include/core/SkBitmap.h"
37 #include "ui/base/l10n/l10n_util.h" 37 #include "ui/base/l10n/l10n_util.h"
38 #include "ui/base/resource/resource_bundle.h" 38 #include "ui/base/resource/resource_bundle.h"
39 #include "views/window/window.h" 39 #include "views/window/window.h"
(...skipping 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after
1088 DictionaryValue* dictionary, chromeos::NetworkLibrary* cros) { 1088 DictionaryValue* dictionary, chromeos::NetworkLibrary* cros) {
1089 dictionary->SetBoolean("accessLocked", cros->IsLocked()); 1089 dictionary->SetBoolean("accessLocked", cros->IsLocked());
1090 dictionary->Set("wiredList", GetWiredList()); 1090 dictionary->Set("wiredList", GetWiredList());
1091 dictionary->Set("wirelessList", GetWirelessList()); 1091 dictionary->Set("wirelessList", GetWirelessList());
1092 dictionary->Set("rememberedList", GetRememberedList()); 1092 dictionary->Set("rememberedList", GetRememberedList());
1093 dictionary->SetBoolean("wifiAvailable", cros->wifi_available()); 1093 dictionary->SetBoolean("wifiAvailable", cros->wifi_available());
1094 dictionary->SetBoolean("wifiEnabled", cros->wifi_enabled()); 1094 dictionary->SetBoolean("wifiEnabled", cros->wifi_enabled());
1095 dictionary->SetBoolean("cellularAvailable", cros->cellular_available()); 1095 dictionary->SetBoolean("cellularAvailable", cros->cellular_available());
1096 dictionary->SetBoolean("cellularEnabled", cros->cellular_enabled()); 1096 dictionary->SetBoolean("cellularEnabled", cros->cellular_enabled());
1097 } 1097 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/webui/imageburner_ui.h ('k') | chrome/browser/chromeos/webui/login/login_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698