Chromium Code Reviews| Index: ash/system/overview/overview_button_tray.cc |
| diff --git a/ash/system/overview/overview_button_tray.cc b/ash/system/overview/overview_button_tray.cc |
| index b56efa9404014e9974e2f2c07fedf520bb73a421..2ee7051b0c8e01925271a09a37fff7bdd80b6aed 100644 |
| --- a/ash/system/overview/overview_button_tray.cc |
| +++ b/ash/system/overview/overview_button_tray.cc |
| @@ -54,7 +54,10 @@ void OverviewButtonTray::UpdateAfterLoginStatusChange( |
| } |
| bool OverviewButtonTray::PerformAction(const ui::Event& event) { |
| - Shell::GetInstance()->window_selector_controller()->ToggleOverview(); |
| + WindowSelectorController* controller = |
| + Shell::GetInstance()->window_selector_controller(); |
| + controller->ToggleOverview(); |
| + SetDrawBackgroundAsActive(controller->IsSelecting()); |
|
Mr4D (OOO till 08-26)
2014/09/04 19:58:35
Shouldn't this command also be dependent on the co
jonross
2014/09/05 16:31:49
This I added because currently the overview button
Mr4D (OOO till 08-26)
2014/09/05 16:38:57
I think that should be fine.
|
| return true; |
| } |