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

Unified Diff: ash/common/system/overview/overview_button_tray.h

Issue 2147143002: [Chrome OS MD] Draw a 1px separator between 2 tray items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 4 months 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/overview/overview_button_tray.h
diff --git a/ash/common/system/overview/overview_button_tray.h b/ash/common/system/overview/overview_button_tray.h
index 1654458d62aba826889cd1926270efe619de7326..be538462f832f2b1ec2ecbd957e92436bd56b7f2 100644
--- a/ash/common/system/overview/overview_button_tray.h
+++ b/ash/common/system/overview/overview_button_tray.h
@@ -16,6 +16,7 @@ class ImageView;
}
namespace ash {
+class WmShelfObserver;
// Status area tray for showing a toggle for Overview Mode. Overview Mode
// is equivalent to WindowSelectorController being in selection mode.
@@ -26,7 +27,8 @@ class ASH_EXPORT OverviewButtonTray : public TrayBackgroundView,
public SessionStateObserver,
public ShellObserver {
public:
- explicit OverviewButtonTray(WmShelf* wm_shelf);
+ explicit OverviewButtonTray(WmShelf* wm_shelf,
James Cook 2016/08/09 00:25:17 ditto
yiyix 2016/08/11 01:23:18 Done.
+ WmShelfObserver* wm_shelf_observer);
~OverviewButtonTray() override;
// Updates the tray's visibility based on the LoginStatus and the current
@@ -57,6 +59,10 @@ class ASH_EXPORT OverviewButtonTray : public TrayBackgroundView,
// alignment of the shelf.
void SetIconBorderForShelfAlignment();
+ // Sets an empty border around the overview tray to change user-visible size
+ // of the dark background. Doesn't do anything in MD.
+ void SetOverviewTrayBorder();
+
// Sets the icon to visible if maximize mode is enabled and
// WindowSelectorController::CanSelect.
void UpdateIconVisibility();

Powered by Google App Engine
This is Rietveld 408576698