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

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

Issue 11280290: events: Change gesture-event handler in EventHandler to not return any values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 18 matching lines...) Expand all
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 ui::MouseEvent& event) OVERRIDE; 34 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
35 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; 35 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE;
36 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; 36 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE;
37 37
38 // ui::EventHandler overrides: 38 // ui::EventHandler overrides:
39 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 39 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
40 40
41 // The CommandUpdater for the Browser object that owns the location bar. 41 // The CommandUpdater for the Browser object that owns the location bar.
42 CommandUpdater* command_updater_; 42 CommandUpdater* command_updater_;
43 43
44 DISALLOW_IMPLICIT_CONSTRUCTORS(StarView); 44 DISALLOW_IMPLICIT_CONSTRUCTORS(StarView);
45 }; 45 };
46 46
47 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_ 47 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/script_bubble_icon_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