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

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

Issue 980943005: Add ash UI for third-party VPNs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@f_2_407541_434711_remove_combined_name
Patch Set: Updated after latest round of UI reviews. Created 5 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
« no previous file with comments | « ui/chromeos/network/network_list.cc ('k') | ui/chromeos/network/network_list_view_base.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 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_LIST_DELEGATE_H_ 5 #ifndef UI_CHROMEOS_NETWORK_NETWORK_LIST_DELEGATE_H_
6 #define UI_CHROMEOS_NETWORK_NETWORK_LIST_DELEGATE_H_ 6 #define UI_CHROMEOS_NETWORK_NETWORK_LIST_DELEGATE_H_
7 7
8 #include "ui/chromeos/ui_chromeos_export.h" 8 #include "ui/chromeos/ui_chromeos_export.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 26 matching lines...) Expand all
37 37
38 // Updates |view| with the information in |info|. Note that |view| is 38 // Updates |view| with the information in |info|. Note that |view| is
39 // guaranteed to be a View returned from |CreateViewForNetwork()|. 39 // guaranteed to be a View returned from |CreateViewForNetwork()|.
40 virtual void UpdateViewForNetwork(views::View* view, 40 virtual void UpdateViewForNetwork(views::View* view,
41 const NetworkInfo& info) = 0; 41 const NetworkInfo& info) = 0;
42 42
43 // Creates a Label to be displayed in the list to present some information 43 // Creates a Label to be displayed in the list to present some information
44 // (e.g. unavailability of network etc.). 44 // (e.g. unavailability of network etc.).
45 virtual views::Label* CreateInfoLabel() = 0; 45 virtual views::Label* CreateInfoLabel() = 0;
46 46
47 // Called when the user clicks on an entry representing a network in the list.
48 virtual void OnViewClicked(views::View* sender) = 0;
49
47 virtual void RelayoutScrollList() = 0; 50 virtual void RelayoutScrollList() = 0;
48 }; 51 };
49 52
50 } // namespace ui 53 } // namespace ui
51 54
52 #endif // UI_CHROMEOS_NETWORK_NETWORK_LIST_DELEGATE_H_ 55 #endif // UI_CHROMEOS_NETWORK_NETWORK_LIST_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/chromeos/network/network_list.cc ('k') | ui/chromeos/network/network_list_view_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698