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

Side by Side Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 10831240: Remove TouchEvent interface, and rename TouchEventImpl to TouchEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge-tot 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const gfx::Rect& new_bounds) OVERRIDE; 94 const gfx::Rect& new_bounds) OVERRIDE;
95 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE; 95 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE;
96 virtual void OnBlur() OVERRIDE; 96 virtual void OnBlur() OVERRIDE;
97 virtual bool OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 97 virtual bool OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
98 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; 98 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
99 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 99 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
100 virtual bool ShouldDescendIntoChildForEventHandling( 100 virtual bool ShouldDescendIntoChildForEventHandling(
101 aura::Window* child, 101 aura::Window* child,
102 const gfx::Point& location) OVERRIDE; 102 const gfx::Point& location) OVERRIDE;
103 virtual bool OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 103 virtual bool OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
104 virtual ui::TouchStatus OnTouchEvent(ui::TouchEventImpl* event) OVERRIDE; 104 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
105 virtual ui::GestureStatus OnGestureEvent( 105 virtual ui::GestureStatus OnGestureEvent(
106 ui::GestureEventImpl* event) OVERRIDE; 106 ui::GestureEventImpl* event) OVERRIDE;
107 virtual bool CanFocus() OVERRIDE; 107 virtual bool CanFocus() OVERRIDE;
108 virtual void OnCaptureLost() OVERRIDE; 108 virtual void OnCaptureLost() OVERRIDE;
109 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 109 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
110 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 110 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
111 virtual void OnWindowDestroying() OVERRIDE; 111 virtual void OnWindowDestroying() OVERRIDE;
112 virtual void OnWindowDestroyed() OVERRIDE; 112 virtual void OnWindowDestroyed() OVERRIDE;
113 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 113 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
114 virtual bool HasHitTestMask() const OVERRIDE; 114 virtual bool HasHitTestMask() const OVERRIDE;
(...skipping 27 matching lines...) Expand all
142 // We keep track of the render view host we're dragging over. If it changes 142 // We keep track of the render view host we're dragging over. If it changes
143 // during a drag, we need to re-send the DragEnter message. WARNING: 143 // during a drag, we need to re-send the DragEnter message. WARNING:
144 // this pointer should never be dereferenced. We only use it for comparing 144 // this pointer should never be dereferenced. We only use it for comparing
145 // pointers. 145 // pointers.
146 void* current_rvh_for_drag_; 146 void* current_rvh_for_drag_;
147 147
148 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); 148 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
149 }; 149 };
150 150
151 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 151 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/web_input_event_aurax11.cc ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698