| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 void OnMouseExited(const ui::MouseEvent& event) override; | 110 void OnMouseExited(const ui::MouseEvent& event) override; |
| 111 | 111 |
| 112 // ui::EventHandler method. | 112 // ui::EventHandler method. |
| 113 void OnGestureEvent(ui::GestureEvent* event) override; | 113 void OnGestureEvent(ui::GestureEvent* event) override; |
| 114 | 114 |
| 115 // views::ButtonListener method. | 115 // views::ButtonListener method. |
| 116 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 116 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 117 | 117 |
| 118 // views::BubbleDelegateView method. | 118 // views::BubbleDelegateView method. |
| 119 void Init() override; | 119 void Init() override; |
| 120 void WindowClosing() override; | |
| 121 | 120 |
| 122 // content::NotificationObserver method. | 121 // content::NotificationObserver method. |
| 123 void Observe(int type, | 122 void Observe(int type, |
| 124 const content::NotificationSource& source, | 123 const content::NotificationSource& source, |
| 125 const content::NotificationDetails& details) override; | 124 const content::NotificationDetails& details) override; |
| 126 | 125 |
| 127 // ImmersiveModeController::Observer methods. | 126 // ImmersiveModeController::Observer methods. |
| 128 void OnImmersiveRevealStarted() override; | 127 void OnImmersiveRevealStarted() override; |
| 129 void OnImmersiveModeControllerDestroyed() override; | 128 void OnImmersiveModeControllerDestroyed() override; |
| 130 | 129 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 157 // Not owned. | 156 // Not owned. |
| 158 ImmersiveModeController* immersive_mode_controller_; | 157 ImmersiveModeController* immersive_mode_controller_; |
| 159 | 158 |
| 160 // Used to register for fullscreen change notifications. | 159 // Used to register for fullscreen change notifications. |
| 161 content::NotificationRegistrar registrar_; | 160 content::NotificationRegistrar registrar_; |
| 162 | 161 |
| 163 DISALLOW_COPY_AND_ASSIGN(ZoomBubbleView); | 162 DISALLOW_COPY_AND_ASSIGN(ZoomBubbleView); |
| 164 }; | 163 }; |
| 165 | 164 |
| 166 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_ | 165 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_ |
| OLD | NEW |