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

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

Issue 2527513002: Update ash shelf/tray focus rects. (Closed)
Patch Set: don't fix palette 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 20fd4030720192915258588724863ed88b9ec030..4618d227145e4ffce77cf4a3feae80699d6bc3f5 100644
--- a/ash/common/system/tray/tray_popup_utils.h
+++ b/ash/common/system/tray/tray_popup_utils.h
@@ -21,6 +21,7 @@ class InkDropHostView;
class InkDropMask;
class Label;
class LabelButton;
+class Painter;
class Separator;
class Slider;
class SliderListener;
@@ -96,6 +97,9 @@ class TrayPopupUtils {
views::ButtonListener* listener,
int accessible_name_id);
+ // Creates a default focus painter used for most things in tray popups.
+ static std::unique_ptr<views::Painter> CreateFocusPainter();
+
// Sets up |view| to be a sticky header in a tray detail scroll view.
static void ConfigureAsStickyHeader(views::View* view);

Powered by Google App Engine
This is Rietveld 408576698