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

Side by Side Diff: ui/views/widget/native_widget_aura.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 UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "ui/aura/client/activation_delegate.h" 10 #include "ui/aura/client/activation_delegate.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 150 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
151 virtual bool HasHitTestMask() const OVERRIDE; 151 virtual bool HasHitTestMask() const OVERRIDE;
152 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 152 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
153 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; 153 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE;
154 154
155 // Overridden from ui::EventHandler: 155 // Overridden from ui::EventHandler:
156 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 156 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
157 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 157 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
158 virtual ui::EventResult OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; 158 virtual ui::EventResult OnScrollEvent(ui::ScrollEvent* event) OVERRIDE;
159 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 159 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
160 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 160 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
161 161
162 // Overridden from aura::client::ActivationDelegate: 162 // Overridden from aura::client::ActivationDelegate:
163 virtual bool ShouldActivate() const OVERRIDE; 163 virtual bool ShouldActivate() const OVERRIDE;
164 virtual void OnActivated() OVERRIDE; 164 virtual void OnActivated() OVERRIDE;
165 virtual void OnLostActive() OVERRIDE; 165 virtual void OnLostActive() OVERRIDE;
166 166
167 // Overridden from aura::client::DragDropDelegate: 167 // Overridden from aura::client::DragDropDelegate:
168 virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; 168 virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE;
169 virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; 169 virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE;
170 virtual void OnDragExited() OVERRIDE; 170 virtual void OnDragExited() OVERRIDE;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 scoped_ptr<DropHelper> drop_helper_; 209 scoped_ptr<DropHelper> drop_helper_;
210 int last_drop_operation_; 210 int last_drop_operation_;
211 211
212 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 212 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
213 }; 213 };
214 214
215 } // namespace views 215 } // namespace views
216 216
217 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 217 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_native_widget_aura.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698