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

Unified Diff: ash/common/system/tray/tray_popup_utils.h

Issue 2489883005: Fix a couple issues with sticky headers (Closed)
Patch Set: rebase 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
« no previous file with comments | « ash/common/system/tray/tray_details_view.cc ('k') | ash/common/system/tray/tray_popup_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_popup_utils.h
diff --git a/ash/common/system/tray/tray_popup_utils.h b/ash/common/system/tray/tray_popup_utils.h
index a48cc78a51f8843685bdd1f063e04c4f6509cf6a..2936caee635d50fa0982f4b8675baf670b4ef0e9 100644
--- a/ash/common/system/tray/tray_popup_utils.h
+++ b/ash/common/system/tray/tray_popup_utils.h
@@ -85,6 +85,9 @@ class TrayPopupUtils {
// with a FillLayout.
static views::Slider* CreateSlider(views::SliderListener* listener);
+ // Sets up |view| to be a sticky header in a tray detail scroll view.
+ static void ConfigureAsStickyHeader(views::View* view);
+
// Configures |container_view| just like CreateDefaultRowView() would
// configure |container| on its returned TriView. To be used when mutliple
// targetable areas are required within a single row.
« no previous file with comments | « ash/common/system/tray/tray_details_view.cc ('k') | ash/common/system/tray/tray_popup_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698