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

Unified Diff: ash/common/system/chromeos/network/network_list_md.h

Issue 2453133002: [ash-md] Makes Wi-Fi header row sticky when network list is scrolled (Closed)
Patch Set: [ash-md] Makes Wi-Fi header row sticky when network list is scrolled (avoid set_id()) Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: ash/common/system/chromeos/network/network_list_md.h
diff --git a/ash/common/system/chromeos/network/network_list_md.h b/ash/common/system/chromeos/network/network_list_md.h
index eff272cb9754d7b8a8e2ff62e8af1496768faec6..81ec2cc7e608c4e4b128af6730b12e8c8f025c4f 100644
--- a/ash/common/system/chromeos/network/network_list_md.h
+++ b/ash/common/system/chromeos/network/network_list_md.h
@@ -76,7 +76,8 @@ class NetworkListViewMd : public NetworkListViewBase,
void UpdateNetworkChild(int index, const NetworkInfo* info);
// Reorders children of |container()| as necessary placing |view| at |index|.
- void PlaceViewAtIndex(views::View* view, int index);
+ // When |is_header| is set, makes |view| a sticky header view.
+ void PlaceViewAtIndex(views::View* view, int index, bool is_header);
// Creates a Label with text specified by |message_id| and adds it to
// |container()| if necessary or updates the text and reorders the

Powered by Google App Engine
This is Rietveld 408576698