| 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_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/timer.h" | 9 #include "base/timer.h" |
| 10 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
| 11 #include "content/public/browser/notification_registrar.h" | 11 #include "content/public/browser/notification_registrar.h" |
| 12 #include "ui/views/bubble/bubble_delegate.h" | 12 #include "ui/views/bubble/bubble_delegate.h" |
| 13 #include "ui/views/controls/button/button.h" | 13 #include "ui/views/controls/button/button.h" |
| 14 #include "ui/views/controls/button/text_button.h" | |
| 15 #include "ui/views/controls/label.h" | 14 #include "ui/views/controls/label.h" |
| 16 | 15 |
| 17 class FullscreenController; | 16 class FullscreenController; |
| 18 | 17 |
| 19 namespace content { | 18 namespace content { |
| 20 class NotificationDetails; | 19 class NotificationDetails; |
| 21 class NotificationSource; | 20 class NotificationSource; |
| 22 class WebContents; | 21 class WebContents; |
| 23 } | 22 } |
| 24 | 23 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 // Whether the currently displayed bubble will automatically close. | 98 // Whether the currently displayed bubble will automatically close. |
| 100 bool auto_close_; | 99 bool auto_close_; |
| 101 | 100 |
| 102 // Used to register for fullscreen change notifications. | 101 // Used to register for fullscreen change notifications. |
| 103 content::NotificationRegistrar registrar_; | 102 content::NotificationRegistrar registrar_; |
| 104 | 103 |
| 105 DISALLOW_COPY_AND_ASSIGN(ZoomBubbleView); | 104 DISALLOW_COPY_AND_ASSIGN(ZoomBubbleView); |
| 106 }; | 105 }; |
| 107 | 106 |
| 108 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_ | 107 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_ |
| OLD | NEW |