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

Side by Side Diff: ash/system/chromeos/network/network_icon.h

Issue 11361274: Add NetworkStateListDetailedView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_
6 #define ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_
7
8 #include <string>
9
10 #include "ui/gfx/image/image_skia.h"
11
12 namespace chromeos {
13 class NetworkState;
14 }
15
16 namespace ash {
17 namespace network_icon {
18
19 class AnimationObserver;
20
21 // Color theme based on icon background.
22 enum ResourceColorTheme {
23 COLOR_DARK,
24 COLOR_LIGHT,
25 };
26
27 // Get the image for the network associated with |service_path|.
28 // |color| determines the color theme. If the icon is animating (i.e the
29 // network is connecting) and |observer| is provided, it will be notified
30 // when the icon changes.
31 gfx::ImageSkia GetImageForNetwork(const chromeos::NetworkState* network,
32 ResourceColorTheme color,
33 AnimationObserver* observer);
34
35 } // namespace network_icon
36 } // namespace ash
37
38 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_
OLDNEW
« no previous file with comments | « ash/system/chromeos/network/network_detailed_view.h ('k') | ash/system/chromeos/network/network_icon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698