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

Side by Side Diff: chrome/browser/ui/views/location_bar/zoom_bubble_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_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/timer.h" 9 #include "base/timer.h"
10 #include "ui/views/bubble/bubble_delegate.h" 10 #include "ui/views/bubble/bubble_delegate.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void StartTimerIfNecessary(); 48 void StartTimerIfNecessary();
49 49
50 // Stops the auto-close timer. 50 // Stops the auto-close timer.
51 void StopTimer(); 51 void StopTimer();
52 52
53 // views::View method. 53 // views::View method.
54 virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; 54 virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE;
55 virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; 55 virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE;
56 56
57 // ui::EventHandler method. 57 // ui::EventHandler method.
58 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 58 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
59 59
60 // views::ButtonListener method. 60 // views::ButtonListener method.
61 virtual void ButtonPressed(views::Button* sender, 61 virtual void ButtonPressed(views::Button* sender,
62 const ui::Event& event) OVERRIDE; 62 const ui::Event& event) OVERRIDE;
63 63
64 // views::BubbleDelegateView method. 64 // views::BubbleDelegateView method.
65 virtual void Init() OVERRIDE; 65 virtual void Init() OVERRIDE;
66 virtual void WindowClosing() OVERRIDE; 66 virtual void WindowClosing() OVERRIDE;
67 67
68 // Singleton instance of the zoom bubble. The zoom bubble can only be shown on 68 // Singleton instance of the zoom bubble. The zoom bubble can only be shown on
(...skipping 10 matching lines...) Expand all
79 // The WebContents for the page whose zoom has changed. 79 // The WebContents for the page whose zoom has changed.
80 content::WebContents* web_contents_; 80 content::WebContents* web_contents_;
81 81
82 // Whether the currently displayed bubble will automatically close. 82 // Whether the currently displayed bubble will automatically close.
83 bool auto_close_; 83 bool auto_close_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(ZoomBubbleView); 85 DISALLOW_COPY_AND_ASSIGN(ZoomBubbleView);
86 }; 86 };
87 87
88 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_ 88 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ZOOM_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/star_view.cc ('k') | chrome/browser/ui/views/location_bar/zoom_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698