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

Side by Side Diff: chrome/browser/chromeos/status/network_menu.h

Issue 7520037: [cros] Network dropdown button in WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove debug Created 9 years, 4 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_STATUS_NETWORK_MENU_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_H_
6 #define CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_H_ 6 #define CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 NetworkMenu(Delegate* delegate, bool is_browser_mode); 86 NetworkMenu(Delegate* delegate, bool is_browser_mode);
87 virtual ~NetworkMenu(); 87 virtual ~NetworkMenu();
88 88
89 // Access to menu definition. 89 // Access to menu definition.
90 ui::MenuModel* GetMenuModel(); 90 ui::MenuModel* GetMenuModel();
91 91
92 // Cancels the active menu. 92 // Cancels the active menu.
93 void CancelMenu(); 93 void CancelMenu();
94 94
95 // Update the menu (e.g. when the network list or status has changed). 95 // Update the menu (e.g. when the network list or status has changed).
96 void UpdateMenu(); 96 virtual void UpdateMenu();
97 97
98 // Run the menu. 98 // Run the menu.
99 void RunMenu(views::View* source); 99 void RunMenu(views::View* source);
100 100
101 // Shows network details in Web UI options window. 101 // Shows network details in Web UI options window.
102 void ShowTabbedNetworkSettings(const Network* network) const; 102 void ShowTabbedNetworkSettings(const Network* network) const;
103 103
104 // Getters. 104 // Getters.
105 Delegate* delegate() const { return delegate_; } 105 Delegate* delegate() const { return delegate_; }
106 bool is_browser_mode() const { return is_browser_mode_; } 106 bool is_browser_mode() const { return is_browser_mode_; }
(...skipping 20 matching lines...) Expand all
127 127
128 // Holds minimum width of the menu. 128 // Holds minimum width of the menu.
129 int min_width_; 129 int min_width_;
130 130
131 DISALLOW_COPY_AND_ASSIGN(NetworkMenu); 131 DISALLOW_COPY_AND_ASSIGN(NetworkMenu);
132 }; 132 };
133 133
134 } // namespace chromeos 134 } // namespace chromeos
135 135
136 #endif // CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_H_ 136 #endif // CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/network_library.cc ('k') | chrome/browser/resources/chromeos/login/oobe.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698