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

Side by Side Diff: ash/common/system/chromeos/network/network_detailed_view.h

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 9 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
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_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H_
6 #define ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H_
7
8 #include "ash/common/system/tray/tray_details_view.h"
9 #include "chromeos/network/network_state_handler.h"
10
11 namespace ash {
12 namespace tray {
13
14 // Abstract base class for all NetworkDetailedView derived subclasses,
15 // which includes NetworkWifiDetailedView and NetworkStateListDetailedView.
16 class NetworkDetailedView : public TrayDetailsView {
17 public:
18 enum DetailedViewType {
19 LIST_VIEW,
20 STATE_LIST_VIEW,
21 WIFI_VIEW,
22 };
23
24 explicit NetworkDetailedView(SystemTrayItem* owner)
25 : TrayDetailsView(owner) {}
26
27 virtual void Init() = 0;
28
29 virtual DetailedViewType GetViewType() const = 0;
30
31 // Called when the contents of the network list have changed or when any
32 // Manager properties (e.g. technology state) have changed.
33 // (Called only from TrayNetworkStateObserver).
34 virtual void Update() = 0;
35
36 protected:
37 ~NetworkDetailedView() override {}
38 };
39
40 } // namespace tray
41 } // namespace ash
42
43 #endif // ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H_
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/network/DEPS ('k') | ash/common/system/chromeos/network/network_icon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698