Chromium Code Reviews| Index: chrome/browser/ui/views/location_bar/zoom_view.h |
| diff --git a/chrome/browser/ui/views/location_bar/zoom_view.h b/chrome/browser/ui/views/location_bar/zoom_view.h |
| index 2c5062244cbd9339566db1ab8ee383c37ff314e3..0042cc787225e0a6f873180cb0216af8f7f0ff73 100644 |
| --- a/chrome/browser/ui/views/location_bar/zoom_view.h |
| +++ b/chrome/browser/ui/views/location_bar/zoom_view.h |
| @@ -21,31 +21,19 @@ class ZoomView : public views::ImageView { |
| explicit ZoomView(ToolbarModel* toolbar_model); |
| virtual ~ZoomView(); |
| - void SetZoomIconState(ZoomController::ZoomIconState zoom_icon_state); |
| - void SetZoomIconTooltipPercent(int zoom_percent); |
| - |
| // Updates the image and its tooltip appropriately, hiding or showing the icon |
| // as needed. |
| - void Update(); |
| + void Update(ZoomController* zoom_controller); |
| private: |
| // views::ImageView: |
| virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| virtual bool GetTooltipText(const gfx::Point& p, |
| string16* tooltip) const OVERRIDE; |
| - virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; |
|
Kyle Horimoto
2012/07/24 03:22:28
Why are we getting rid of all these mouse event ha
Dan Beam
2012/08/15 09:04:59
I've added them back now that the code compiles wi
|
| - virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE; |
| - virtual bool OnKeyPressed(const views::KeyEvent& event) OVERRIDE; |
| // Toolbar model used to test whether location bar input is in progress. |
| ToolbarModel* toolbar_model_; |
| - // The current icon state. |
| - ZoomController::ZoomIconState zoom_icon_state_; |
| - |
| - // The current zoom percentage. |
| - int zoom_percent_; |
| - |
| DISALLOW_COPY_AND_ASSIGN(ZoomView); |
| }; |