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 CHROME_BROWSER_UI_VIEWS_CRITICAL_NOTIFICATION_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CRITICAL_NOTIFICATION_BUBBLE_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_CRITICAL_NOTIFICATION_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CRITICAL_NOTIFICATION_BUBBLE_VIEW_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/timer/timer.h" | 9 #include "base/timer/timer.h" |
9 #include "ui/views/bubble/bubble_delegate.h" | 10 #include "ui/views/bubble/bubble_delegate.h" |
10 #include "ui/views/controls/button/button.h" | 11 #include "ui/views/controls/button/button.h" |
11 | 12 |
12 namespace ui { | 13 namespace ui { |
13 class Accelerator; | 14 class Accelerator; |
14 } | 15 } |
15 | 16 |
16 namespace views { | 17 namespace views { |
17 class Label; | 18 class Label; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // A timer to refresh the bubble to show new countdown value. | 60 // A timer to refresh the bubble to show new countdown value. |
60 base::RepeatingTimer refresh_timer_; | 61 base::RepeatingTimer refresh_timer_; |
61 | 62 |
62 // When the bubble was created. | 63 // When the bubble was created. |
63 base::Time bubble_created_; | 64 base::Time bubble_created_; |
64 | 65 |
65 DISALLOW_COPY_AND_ASSIGN(CriticalNotificationBubbleView); | 66 DISALLOW_COPY_AND_ASSIGN(CriticalNotificationBubbleView); |
66 }; | 67 }; |
67 | 68 |
68 #endif // CHROME_BROWSER_UI_VIEWS_CRITICAL_NOTIFICATION_BUBBLE_VIEW_H_ | 69 #endif // CHROME_BROWSER_UI_VIEWS_CRITICAL_NOTIFICATION_BUBBLE_VIEW_H_ |
OLD | NEW |