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

Unified Diff: ash/common/system/tray/tray_details_view.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/tray/tray_details_view.h
diff --git a/ash/common/system/tray/tray_details_view.h b/ash/common/system/tray/tray_details_view.h
index 5cb4e4a3754162a6265cf3090d3d2961ae6c527c..7b4ace783b91e9304ee1d1c48aab62b604cca79d 100644
--- a/ash/common/system/tray/tray_details_view.h
+++ b/ash/common/system/tray/tray_details_view.h
@@ -6,6 +6,7 @@
#define ASH_COMMON_SYSTEM_TRAY_TRAY_DETAILS_VIEW_H_
#include "ash/ash_export.h"
+#include "ash/common/system/tray/header_list_scroll_view.h"
#include "ash/common/system/tray/special_popup_row.h"
#include "ash/common/system/tray/view_click_listener.h"
#include "base/macros.h"
@@ -42,7 +43,7 @@ class ASH_EXPORT TrayDetailsView : public views::View,
SystemTrayItem* owner() { return owner_; }
SpecialPopupRow* title_row() { return title_row_; }
FixedSizedScrollView* scroller() { return scroller_; }
- views::View* scroll_content() { return scroll_content_; }
+ HeaderListScrollView* scroll_content() { return scroll_content_; }
views::ProgressBar* progress_bar() { return progress_bar_; }
protected:
@@ -90,7 +91,7 @@ class ASH_EXPORT TrayDetailsView : public views::View,
SystemTrayItem* owner_;
SpecialPopupRow* title_row_;
FixedSizedScrollView* scroller_;
- views::View* scroll_content_;
+ HeaderListScrollView* scroll_content_;
views::ProgressBar* progress_bar_;
// |title_row_separator_| has a views::Separator as a child and, optionally,

Powered by Google App Engine
This is Rietveld 408576698