Chromium Code Reviews| 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(); |