| 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_TRAY_TRAY_NOTIFICATION_VIEW_H_ | 5 #ifndef ASH_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_ |
| 6 #define ASH_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_ | 6 #define ASH_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/timer/timer.h" | 8 #include "base/timer/timer.h" |
| 9 #include "ui/views/controls/button/image_button.h" | 9 #include "ui/views/controls/button/image_button.h" |
| 10 #include "ui/views/controls/slide_out_view.h" | 10 #include "ui/views/controls/slide_out_view.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 73 |
| 74 private: | 74 private: |
| 75 void HandleClose(); | 75 void HandleClose(); |
| 76 void HandleClickAction(); | 76 void HandleClickAction(); |
| 77 | 77 |
| 78 SystemTrayItem* owner_; | 78 SystemTrayItem* owner_; |
| 79 int icon_id_; | 79 int icon_id_; |
| 80 views::ImageView* icon_; | 80 views::ImageView* icon_; |
| 81 | 81 |
| 82 int autoclose_delay_; | 82 int autoclose_delay_; |
| 83 base::OneShotTimer<TrayNotificationView> autoclose_; | 83 base::OneShotTimer autoclose_; |
| 84 | 84 |
| 85 DISALLOW_COPY_AND_ASSIGN(TrayNotificationView); | 85 DISALLOW_COPY_AND_ASSIGN(TrayNotificationView); |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace ash | 88 } // namespace ash |
| 89 | 89 |
| 90 #endif // ASH_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_ | 90 #endif // ASH_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_ |
| OLD | NEW |