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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_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 25 matching lines...) Expand all
36 36
37 // NetworkLibrary::NetworkManagerObserver implementation. 37 // NetworkLibrary::NetworkManagerObserver implementation.
38 virtual void OnNetworkManagerChanged(chromeos::NetworkLibrary* network_lib); 38 virtual void OnNetworkManagerChanged(chromeos::NetworkLibrary* network_lib);
39 // NetworkLibrary::NetworkObserver implementation. 39 // NetworkLibrary::NetworkObserver implementation.
40 virtual void OnNetworkChanged(chromeos::NetworkLibrary* network_lib, 40 virtual void OnNetworkChanged(chromeos::NetworkLibrary* network_lib,
41 const chromeos::Network* network); 41 const chromeos::Network* network);
42 // NetworkLibrary::CellularDataPlanObserver implementation. 42 // NetworkLibrary::CellularDataPlanObserver implementation.
43 virtual void OnCellularDataPlanChanged(chromeos::NetworkLibrary* network_lib); 43 virtual void OnCellularDataPlanChanged(chromeos::NetworkLibrary* network_lib);
44 44
45 // NotificationObserver implementation. 45 // NotificationObserver implementation.
46 virtual void Observe(NotificationType type, 46 virtual void Observe(int type,
47 const NotificationSource& source, 47 const NotificationSource& source,
48 const NotificationDetails& details) OVERRIDE; 48 const NotificationDetails& details) OVERRIDE;
49 49
50 private: 50 private:
51 // Opens a modal popup dialog. 51 // Opens a modal popup dialog.
52 void CreateModalPopup(views::WidgetDelegate* view); 52 void CreateModalPopup(views::WidgetDelegate* view);
53 gfx::NativeWindow GetNativeWindow() const; 53 gfx::NativeWindow GetNativeWindow() const;
54 54
55 // Passes data needed to show details overlay for network. 55 // Passes data needed to show details overlay for network.
56 // |args| will be [ network_type, service_path, command ] 56 // |args| will be [ network_type, service_path, command ]
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 // Convenience pointer to netwrok library (will not change). 134 // Convenience pointer to netwrok library (will not change).
135 chromeos::NetworkLibrary* cros_; 135 chromeos::NetworkLibrary* cros_;
136 136
137 NotificationRegistrar registrar_; 137 NotificationRegistrar registrar_;
138 138
139 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); 139 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler);
140 }; 140 };
141 141
142 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ 142 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698