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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 190 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
191 virtual bool HasHitTestMask() const OVERRIDE; 191 virtual bool HasHitTestMask() const OVERRIDE;
192 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 192 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
193 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; 193 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE;
194 194
195 // Overridden from ui::EventHandler: 195 // Overridden from ui::EventHandler:
196 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 196 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
197 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 197 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
198 virtual ui::EventResult OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; 198 virtual ui::EventResult OnScrollEvent(ui::ScrollEvent* event) OVERRIDE;
199 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 199 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
200 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 200 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
201 201
202 // Overridden from aura::client::ActivationDelegate: 202 // Overridden from aura::client::ActivationDelegate:
203 virtual bool ShouldActivate() const OVERRIDE; 203 virtual bool ShouldActivate() const OVERRIDE;
204 virtual void OnActivated() OVERRIDE; 204 virtual void OnActivated() OVERRIDE;
205 virtual void OnLostActive() OVERRIDE; 205 virtual void OnLostActive() OVERRIDE;
206 206
207 protected: 207 protected:
208 friend class RenderWidgetHostView; 208 friend class RenderWidgetHostView;
209 209
210 // Should construct only via RenderWidgetHostView::CreateViewForWidget. 210 // Should construct only via RenderWidgetHostView::CreateViewForWidget.
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 NO_PENDING_COMMIT, 421 NO_PENDING_COMMIT,
422 }; 422 };
423 CanLockCompositorState can_lock_compositor_; 423 CanLockCompositorState can_lock_compositor_;
424 424
425 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 425 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
426 }; 426 };
427 427
428 } // namespace content 428 } // namespace content
429 429
430 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 430 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_strip.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698