Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: chrome/browser/ui/views/location_bar/star_view.h

Issue 10832282: Replace views::MouseEvent with ui::MouseEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_STAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_
7 7
8 #include "chrome/browser/ui/views/location_bar/touchable_location_bar_view.h" 8 #include "chrome/browser/ui/views/location_bar/touchable_location_bar_view.h"
9 #include "ui/views/controls/image_view.h" 9 #include "ui/views/controls/image_view.h"
10 10
(...skipping 13 matching lines...) Expand all
24 void SetToggled(bool on); 24 void SetToggled(bool on);
25 25
26 // TouchableLocationBarView. 26 // TouchableLocationBarView.
27 virtual int GetBuiltInHorizontalPadding() const OVERRIDE; 27 virtual int GetBuiltInHorizontalPadding() const OVERRIDE;
28 28
29 private: 29 private:
30 // views::ImageView overrides: 30 // views::ImageView overrides:
31 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 31 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
32 virtual bool GetTooltipText(const gfx::Point& p, 32 virtual bool GetTooltipText(const gfx::Point& p,
33 string16* tooltip) const OVERRIDE; 33 string16* tooltip) const OVERRIDE;
34 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; 34 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
35 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE; 35 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE;
36 virtual ui::GestureStatus OnGestureEvent( 36 virtual ui::GestureStatus OnGestureEvent(
37 const views::GestureEvent& event) OVERRIDE; 37 const views::GestureEvent& event) OVERRIDE;
38 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; 38 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE;
39 39
40 // The CommandUpdater for the Browser object that owns the location bar. 40 // The CommandUpdater for the Browser object that owns the location bar.
41 CommandUpdater* command_updater_; 41 CommandUpdater* command_updater_;
42 42
43 DISALLOW_IMPLICIT_CONSTRUCTORS(StarView); 43 DISALLOW_IMPLICIT_CONSTRUCTORS(StarView);
44 }; 44 };
45 45
46 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_ 46 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/page_action_image_view.cc ('k') | chrome/browser/ui/views/location_bar/star_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698