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

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

Issue 6679040: [cros] Add checkbox for toggling data roaming setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 9 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 #ifndef CHROME_BROWSER_CHROMEOS_WEBUI_INTERNET_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_WEBUI_INTERNET_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_CHROMEOS_WEBUI_INTERNET_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_WEBUI_INTERNET_OPTIONS_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/chromeos/cros/network_library.h" 10 #include "chrome/browser/chromeos/cros/network_library.h"
11 #include "chrome/browser/ui/webui/options/options_ui.h" 11 #include "chrome/browser/chromeos/webui/cros_options_page_ui_handler.h"
12 12
13 class SkBitmap; 13 class SkBitmap;
14 namespace views { 14 namespace views {
15 class WindowDelegate; 15 class WindowDelegate;
16 } 16 }
17 17
18 // ChromeOS internet options page UI handler. 18 // ChromeOS internet options page UI handler.
19 class InternetOptionsHandler 19 class InternetOptionsHandler
20 : public OptionsPageUIHandler, 20 : public chromeos::CrosOptionsPageUIHandler,
21 public chromeos::NetworkLibrary::NetworkManagerObserver, 21 public chromeos::NetworkLibrary::NetworkManagerObserver,
22 public chromeos::NetworkLibrary::NetworkObserver, 22 public chromeos::NetworkLibrary::NetworkObserver,
23 public chromeos::NetworkLibrary::CellularDataPlanObserver { 23 public chromeos::NetworkLibrary::CellularDataPlanObserver {
24 public: 24 public:
25 InternetOptionsHandler(); 25 InternetOptionsHandler();
26 virtual ~InternetOptionsHandler(); 26 virtual ~InternetOptionsHandler();
27 27
28 // OptionsPageUIHandler implementation. 28 // OptionsPageUIHandler implementation.
29 virtual void GetLocalizedValues(DictionaryValue* localized_strings); 29 virtual void GetLocalizedValues(DictionaryValue* localized_strings);
30 virtual void Initialize(); 30 virtual void Initialize();
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 void MonitorNetworks(chromeos::NetworkLibrary* cros); 124 void MonitorNetworks(chromeos::NetworkLibrary* cros);
125 125
126 // A boolean flag of whether to use WebUI for connect UI. True to use WebUI 126 // A boolean flag of whether to use WebUI for connect UI. True to use WebUI
127 // and false to use Views dialogs. 127 // and false to use Views dialogs.
128 bool use_settings_ui_; 128 bool use_settings_ui_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); 130 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler);
131 }; 131 };
132 132
133 #endif // CHROME_BROWSER_CHROMEOS_WEBUI_INTERNET_OPTIONS_HANDLER_H_ 133 #endif // CHROME_BROWSER_CHROMEOS_WEBUI_INTERNET_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/user_cros_settings_provider.cc ('k') | chrome/browser/chromeos/webui/internet_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698