OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_SYSTEM_OVERVIEW_OVERVIEW_BUTTON_TRAY_H_ | 5 #ifndef ASH_SYSTEM_OVERVIEW_OVERVIEW_BUTTON_TRAY_H_ |
6 #define ASH_SYSTEM_OVERVIEW_OVERVIEW_BUTTON_TRAY_H_ | 6 #define ASH_SYSTEM_OVERVIEW_OVERVIEW_BUTTON_TRAY_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/session/session_state_observer.h" | 9 #include "ash/session/session_state_observer.h" |
10 #include "ash/shell_observer.h" | 10 #include "ash/shell_observer.h" |
11 #include "ash/system/tray/tray_background_view.h" | 11 #include "ash/system/tray/tray_background_view.h" |
| 12 #include "base/macros.h" |
12 | 13 |
13 namespace views { | 14 namespace views { |
14 class ImageView; | 15 class ImageView; |
15 } | 16 } |
16 | 17 |
17 namespace ash { | 18 namespace ash { |
18 | 19 |
19 // Status area tray for showing a toggle for Overview Mode. Overview Mode | 20 // Status area tray for showing a toggle for Overview Mode. Overview Mode |
20 // is equivalent to WindowSelectorController being in selection mode. | 21 // is equivalent to WindowSelectorController being in selection mode. |
21 // This hosts a ShellObserver that listens for the activation of Maximize Mode | 22 // This hosts a ShellObserver that listens for the activation of Maximize Mode |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 63 |
63 // Weak pointer, will be parented by TrayContainer for its lifetime. | 64 // Weak pointer, will be parented by TrayContainer for its lifetime. |
64 views::ImageView* icon_; | 65 views::ImageView* icon_; |
65 | 66 |
66 DISALLOW_COPY_AND_ASSIGN(OverviewButtonTray); | 67 DISALLOW_COPY_AND_ASSIGN(OverviewButtonTray); |
67 }; | 68 }; |
68 | 69 |
69 } // namespace ash | 70 } // namespace ash |
70 | 71 |
71 #endif // ASH_SYSTEM_OVERVIEW_OVERVIEW_BUTTON_TRAY_H_ | 72 #endif // ASH_SYSTEM_OVERVIEW_OVERVIEW_BUTTON_TRAY_H_ |
OLD | NEW |