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

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

Issue 2489883005: Fix a couple issues with sticky headers (Closed)
Patch Set: fix crash 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_popup_utils.h
diff --git a/ash/common/system/tray/tray_popup_utils.h b/ash/common/system/tray/tray_popup_utils.h
index 7d0d5720e06643dc312306502837a7ae52739635..296a2a7f97c5f6c435f611f9337ad8209f19493b 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.

Powered by Google App Engine
This is Rietveld 408576698