| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/timer.h" | 9 #include "base/timer.h" |
| 10 #include "ui/views/bubble/bubble_delegate.h" |
| 10 #include "views/controls/button/button.h" | 11 #include "views/controls/button/button.h" |
| 11 #include "views/bubble/bubble_delegate.h" | |
| 12 | 12 |
| 13 namespace ui { | 13 namespace ui { |
| 14 class Accelerator; | 14 class Accelerator; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace views { | 17 namespace views { |
| 18 class Label; | 18 class Label; |
| 19 class NativeTextButton; | 19 class NativeTextButton; |
| 20 } | 20 } |
| 21 | 21 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // A timer to refresh the bubble to show new countdown value. | 57 // A timer to refresh the bubble to show new countdown value. |
| 58 base::RepeatingTimer<CriticalNotificationBubbleView> refresh_timer_; | 58 base::RepeatingTimer<CriticalNotificationBubbleView> refresh_timer_; |
| 59 | 59 |
| 60 // When the bubble was created. | 60 // When the bubble was created. |
| 61 base::Time bubble_created_; | 61 base::Time bubble_created_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(CriticalNotificationBubbleView); | 63 DISALLOW_COPY_AND_ASSIGN(CriticalNotificationBubbleView); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 #endif // CHROME_BROWSER_UI_VIEWS_CRITICAL_NOTIFICATION_BUBBLE_VIEW_H_ | 66 #endif // CHROME_BROWSER_UI_VIEWS_CRITICAL_NOTIFICATION_BUBBLE_VIEW_H_ |
| OLD | NEW |