OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ | 5 #ifndef ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ |
6 #define ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ | 6 #define ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/system/tray/tray_background_view.h" | 9 #include "ash/system/tray/tray_background_view.h" |
10 #include "ash/system/user/login_status.h" | 10 #include "ash/system/user/login_status.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "ui/base/models/simple_menu_model.h" | 15 #include "ui/base/models/simple_menu_model.h" |
15 #include "ui/message_center/message_center_tray.h" | 16 #include "ui/message_center/message_center_tray.h" |
16 #include "ui/message_center/message_center_tray_delegate.h" | 17 #include "ui/message_center/message_center_tray_delegate.h" |
17 #include "ui/views/bubble/tray_bubble_view.h" | 18 #include "ui/views/bubble/tray_bubble_view.h" |
18 #include "ui/views/controls/button/button.h" | 19 #include "ui/views/controls/button/button.h" |
19 | 20 |
20 // Status area tray for showing browser and app notifications. This hosts | 21 // Status area tray for showing browser and app notifications. This hosts |
21 // a MessageCenter class which manages the notification list. This class | 22 // a MessageCenter class which manages the notification list. This class |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 bool should_block_shelf_auto_hide_; | 173 bool should_block_shelf_auto_hide_; |
173 | 174 |
174 scoped_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_; | 175 scoped_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_; |
175 | 176 |
176 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); | 177 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); |
177 }; | 178 }; |
178 | 179 |
179 } // namespace ash | 180 } // namespace ash |
180 | 181 |
181 #endif // ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ | 182 #endif // ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ |
OLD | NEW |