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/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 std::string name; | 68 std::string name; |
69 | 69 |
70 // An image of the extension's icon, which appears in the zoom bubble as an | 70 // An image of the extension's icon, which appears in the zoom bubble as an |
71 // image button. | 71 // image button. |
72 scoped_ptr<const extensions::IconImage> icon_image; | 72 scoped_ptr<const extensions::IconImage> icon_image; |
73 }; | 73 }; |
74 | 74 |
75 ZoomBubbleView(views::View* anchor_view, | 75 ZoomBubbleView(views::View* anchor_view, |
76 content::WebContents* web_contents, | 76 content::WebContents* web_contents, |
77 bool auto_close, | 77 bool auto_close, |
78 ImmersiveModeController* immersive_mode_controller, | 78 ImmersiveModeController* immersive_mode_controller); |
79 FullscreenController* fullscreen_controller); | |
miu
2015/01/16 22:17:39
Nice catch of unused arg! :)
Sriram
2015/01/21 01:38:57
Acknowledged.
| |
80 ~ZoomBubbleView() override; | 79 ~ZoomBubbleView() override; |
81 | 80 |
82 // ManagedFullScreenBubbleDelegateView: | 81 // ManagedFullScreenBubbleDelegateView: |
83 void OnGestureEvent(ui::GestureEvent* event) override; | 82 void OnGestureEvent(ui::GestureEvent* event) override; |
84 void OnMouseEntered(const ui::MouseEvent& event) override; | 83 void OnMouseEntered(const ui::MouseEvent& event) override; |
85 void OnMouseExited(const ui::MouseEvent& event) override; | 84 void OnMouseExited(const ui::MouseEvent& event) override; |
86 void Init() override; | 85 void Init() override; |
87 void WindowClosing() override; | 86 void WindowClosing() override; |
88 void Close() override; | 87 void Close() override; |
89 | 88 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
138 | 137 |
139 // The immersive mode controller for the BrowserView containing | 138 // The immersive mode controller for the BrowserView containing |
140 // |web_contents_|. | 139 // |web_contents_|. |
141 // Not owned. | 140 // Not owned. |
142 ImmersiveModeController* immersive_mode_controller_; | 141 ImmersiveModeController* immersive_mode_controller_; |
143 | 142 |
144 DISALLOW_COPY_AND_ASSIGN(ZoomBubbleView); | 143 DISALLOW_COPY_AND_ASSIGN(ZoomBubbleView); |
145 }; | 144 }; |
146 | 145 |
147 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_ | 146 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_ |
OLD | NEW |