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

Side by Side Diff: ui/chromeos/network/network_info.h

Issue 1469733003: system tray ui change for AllowOnlyPolicyNetworksToConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « ui/chromeos/BUILD.gn ('k') | ui/chromeos/network/network_list.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_CHROMEOS_NETWORK_NETWORK_INFO_H_ 5 #ifndef UI_CHROMEOS_NETWORK_NETWORK_INFO_H_
6 #define UI_CHROMEOS_NETWORK_NETWORK_INFO_H_ 6 #define UI_CHROMEOS_NETWORK_NETWORK_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "ui/chromeos/ui_chromeos_export.h" 11 #include "ui/chromeos/ui_chromeos_export.h"
12 #include "ui/gfx/image/image_skia.h" 12 #include "ui/gfx/image/image_skia.h"
13 13
14 namespace gfx { 14 namespace gfx {
15 class ImageSkia; 15 class ImageSkia;
16 } 16 }
17 17
18 namespace ui { 18 namespace ui {
19 19
20 // Includes information necessary about a network for displaying the appropriate 20 // Includes information necessary about a network for displaying the appropriate
21 // UI to the user. 21 // UI to the user.
22 struct UI_CHROMEOS_EXPORT NetworkInfo { 22 struct UI_CHROMEOS_EXPORT NetworkInfo {
23 NetworkInfo(); 23 NetworkInfo();
24 NetworkInfo(const std::string& path); 24 NetworkInfo(const std::string& path);
25 ~NetworkInfo(); 25 ~NetworkInfo();
26 26
27 std::string service_path; 27 std::string service_path;
28 base::string16 label; 28 base::string16 label;
29 base::string16 tooltip;
29 gfx::ImageSkia image; 30 gfx::ImageSkia image;
30 bool disable; 31 bool disable;
31 bool highlight; 32 bool highlight;
32 }; 33 };
33 34
34 } // namespace ui 35 } // namespace ui
35 36
36 #endif // UI_CHROMEOS_NETWORK_NETWORK_INFO_H_ 37 #endif // UI_CHROMEOS_NETWORK_NETWORK_INFO_H_
OLDNEW
« no previous file with comments | « ui/chromeos/BUILD.gn ('k') | ui/chromeos/network/network_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698