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/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
11 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" | 11 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" |
12 #include "chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view
.h" | 12 #include "chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view
.h" |
13 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
14 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
15 #include "extensions/browser/extension_icon_image.h" | 15 #include "extensions/browser/extension_icon_image.h" |
16 #include "ui/views/controls/button/button.h" | 16 #include "ui/views/controls/button/button.h" |
17 #include "ui/views/controls/label.h" | 17 #include "ui/views/controls/label.h" |
18 | 18 |
19 class FullscreenController; | |
20 | |
21 namespace content { | 19 namespace content { |
22 class NotificationDetails; | |
23 class NotificationSource; | |
24 class WebContents; | 20 class WebContents; |
25 } | 21 } |
26 | 22 |
27 namespace views { | 23 namespace views { |
28 class ImageButton; | 24 class ImageButton; |
29 } // namespace views | 25 } // namespace views |
30 | 26 |
31 // View used to display the zoom percentage when it has changed. | 27 // View used to display the zoom percentage when it has changed. |
32 class ZoomBubbleView : public LocationBarBubbleDelegateView, | 28 class ZoomBubbleView : public LocationBarBubbleDelegateView, |
33 public views::ButtonListener, | 29 public views::ButtonListener, |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 129 |
134 // The immersive mode controller for the BrowserView containing | 130 // The immersive mode controller for the BrowserView containing |
135 // |web_contents_|. | 131 // |web_contents_|. |
136 // Not owned. | 132 // Not owned. |
137 ImmersiveModeController* immersive_mode_controller_; | 133 ImmersiveModeController* immersive_mode_controller_; |
138 | 134 |
139 DISALLOW_COPY_AND_ASSIGN(ZoomBubbleView); | 135 DISALLOW_COPY_AND_ASSIGN(ZoomBubbleView); |
140 }; | 136 }; |
141 | 137 |
142 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_ | 138 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_ |
OLD | NEW |