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

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

Issue 3923002: Revert 63135 - Update icons to show lowdata and very lowdata for 3G data.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 2 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DOM_UI_INTERNET_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DOM_UI_INTERNET_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_CHROMEOS_DOM_UI_INTERNET_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_DOM_UI_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"
(...skipping 12 matching lines...) Expand all
23 virtual ~InternetOptionsHandler(); 23 virtual ~InternetOptionsHandler();
24 24
25 // OptionsUIHandler implementation. 25 // OptionsUIHandler implementation.
26 virtual void GetLocalizedValues(DictionaryValue* localized_strings); 26 virtual void GetLocalizedValues(DictionaryValue* localized_strings);
27 27
28 // DOMMessageHandler implementation. 28 // DOMMessageHandler implementation.
29 virtual void RegisterMessages(); 29 virtual void RegisterMessages();
30 30
31 // NetworkLibrary::Observer implementation. 31 // NetworkLibrary::Observer implementation.
32 virtual void NetworkChanged(chromeos::NetworkLibrary* obj); 32 virtual void NetworkChanged(chromeos::NetworkLibrary* obj);
33 virtual void CellularDataPlanChanged(chromeos::NetworkLibrary* obj); 33 virtual void CellularDataPlanChanged(const std::string& service_path,
34 const chromeos::CellularDataPlanList& plans);
34 35
35 private: 36 private:
36 // Passes data needed to show details overlay for network. 37 // Passes data needed to show details overlay for network.
37 // |args| will be [ network_type, service_path, command ] 38 // |args| will be [ network_type, service_path, command ]
38 // And command is one of 'options', 'connect', disconnect', or 'forget' 39 // And command is one of 'options', 'connect', disconnect', or 'forget'
39 void ButtonClickCallback(const ListValue* args); 40 void ButtonClickCallback(const ListValue* args);
40 // Initiates cellular plan data refresh. The results from libcros will 41 // Initiates cellular plan data refresh. The results from libcros will
41 // be passed through CellularDataPlanChanged() callback method. 42 // be passed through CellularDataPlanChanged() callback method.
42 // |args| will be [ service_path ] 43 // |args| will be [ service_path ]
43 void RefreshCellularPlanCallback(const ListValue* args); 44 void RefreshCellularPlanCallback(const ListValue* args);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ListValue* GetWiredList(); 79 ListValue* GetWiredList();
79 // Creates the map of wireless networks 80 // Creates the map of wireless networks
80 ListValue* GetWirelessList(); 81 ListValue* GetWirelessList();
81 // Creates the map of remembered networks 82 // Creates the map of remembered networks
82 ListValue* GetRememberedList(); 83 ListValue* GetRememberedList();
83 84
84 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); 85 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler);
85 }; 86 };
86 87
87 #endif // CHROME_BROWSER_CHROMEOS_DOM_UI_INTERNET_OPTIONS_HANDLER_H_ 88 #endif // CHROME_BROWSER_CHROMEOS_DOM_UI_INTERNET_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/network_library.cc ('k') | chrome/browser/chromeos/dom_ui/internet_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698