| 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_COMMON_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_ | 5 #ifndef ASH_COMMON_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_ |
| 6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_ | 6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/timer/timer.h" | 9 #include "base/timer/timer.h" |
| 10 #include "ui/views/controls/button/image_button.h" | 10 #include "ui/views/controls/button/image_button.h" |
| 11 #include "ui/views/controls/slide_out_view.h" | 11 #include "ui/views/controls/slide_out_view.h" |
| 12 | 12 |
| 13 namespace gfx { | |
| 14 class ImageSkia; | |
| 15 } | |
| 16 | |
| 17 namespace views { | 13 namespace views { |
| 18 class ImageView; | 14 class ImageView; |
| 19 } | 15 } |
| 20 | 16 |
| 21 namespace ash { | 17 namespace ash { |
| 22 class SystemTrayItem; | 18 class SystemTrayItem; |
| 23 | 19 |
| 24 // A view for closable notification views, laid out like: | 20 // A view for closable notification views, laid out like: |
| 25 // ------------------- | 21 // ------------------- |
| 26 // | icon contents x | | 22 // | icon contents x | |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 70 |
| 75 int autoclose_delay_; | 71 int autoclose_delay_; |
| 76 base::OneShotTimer autoclose_; | 72 base::OneShotTimer autoclose_; |
| 77 | 73 |
| 78 DISALLOW_COPY_AND_ASSIGN(TrayNotificationView); | 74 DISALLOW_COPY_AND_ASSIGN(TrayNotificationView); |
| 79 }; | 75 }; |
| 80 | 76 |
| 81 } // namespace ash | 77 } // namespace ash |
| 82 | 78 |
| 83 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_ | 79 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_ |
| OLD | NEW |