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

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

Issue 811623002: Add logging for slow device events, limit network UI update rate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@patch_441650
Patch Set: Feedback Created 6 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 | « no previous file | ash/system/chromeos/network/network_state_list_detailed_view.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 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 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 ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H 5 #ifndef ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H
6 #define ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H 6 #define ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H
7 7
8 #include "ash/system/tray/tray_details_view.h" 8 #include "ash/system/tray/tray_details_view.h"
9 #include "chromeos/network/network_state_handler.h" 9 #include "chromeos/network/network_state_handler.h"
10 10
(...skipping 11 matching lines...) Expand all
22 }; 22 };
23 23
24 explicit NetworkDetailedView(SystemTrayItem* owner) 24 explicit NetworkDetailedView(SystemTrayItem* owner)
25 : TrayDetailsView(owner) { 25 : TrayDetailsView(owner) {
26 } 26 }
27 27
28 virtual void Init() = 0; 28 virtual void Init() = 0;
29 29
30 virtual DetailedViewType GetViewType() const = 0; 30 virtual DetailedViewType GetViewType() const = 0;
31 31
32 // Called when network manager state has changed. 32 // Called when the contents of the network list have changed or when any
33 // (Generic update for NetworkTray <> AshSystemTrayDelegate interface). 33 // Manager properties (e.g. technology state) have changed.
34 virtual void ManagerChanged() = 0;
35
36 // Called when the contents of the network list have changed.
37 // (Called only from TrayNetworkStateObserver). 34 // (Called only from TrayNetworkStateObserver).
38 virtual void NetworkListChanged() = 0; 35 virtual void Update() = 0;
39
40 // Called when a network service property has changed.
41 // (Called only from TrayNetworkStateObserver).
42 virtual void NetworkServiceChanged(const chromeos::NetworkState* network) = 0;
43 36
44 protected: 37 protected:
45 virtual ~NetworkDetailedView() {} 38 virtual ~NetworkDetailedView() {}
46 }; 39 };
47 40
48 } // namespace tray 41 } // namespace tray
49 } // namespace ash 42 } // namespace ash
50 43
51 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H 44 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H
OLDNEW
« no previous file with comments | « no previous file | ash/system/chromeos/network/network_state_list_detailed_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698