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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 26664002: SyntheticGestureTarget implementation for injecting synthetic input events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase_wip Created 7 years, 1 month 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
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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 221 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
222 virtual void AcceleratedSurfaceRelease() OVERRIDE; 222 virtual void AcceleratedSurfaceRelease() OVERRIDE;
223 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 223 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
224 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; 224 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE;
225 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 225 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
226 virtual void GestureEventAck(int gesture_event_type, 226 virtual void GestureEventAck(int gesture_event_type,
227 InputEventAckState ack_result) OVERRIDE; 227 InputEventAckState ack_result) OVERRIDE;
228 virtual void ProcessAckedTouchEvent( 228 virtual void ProcessAckedTouchEvent(
229 const TouchEventWithLatencyInfo& touch, 229 const TouchEventWithLatencyInfo& touch,
230 InputEventAckState ack_result) OVERRIDE; 230 InputEventAckState ack_result) OVERRIDE;
231 virtual SyntheticGestureTarget* CreateSyntheticGestureTarget() OVERRIDE;
231 virtual SyntheticGesture* CreateSmoothScrollGesture( 232 virtual SyntheticGesture* CreateSmoothScrollGesture(
232 bool scroll_down, 233 bool scroll_down,
233 int pixels_to_scroll, 234 int pixels_to_scroll,
234 int mouse_event_x, 235 int mouse_event_x,
235 int mouse_event_y) OVERRIDE; 236 int mouse_event_y) OVERRIDE;
236 virtual void SetHasHorizontalScrollbar( 237 virtual void SetHasHorizontalScrollbar(
237 bool has_horizontal_scrollbar) OVERRIDE; 238 bool has_horizontal_scrollbar) OVERRIDE;
238 virtual void SetScrollOffsetPinning( 239 virtual void SetScrollOffsetPinning(
239 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 240 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
240 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 241 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 }; 756 };
756 scoped_ptr<ReleasedFrameInfo> released_software_frame_; 757 scoped_ptr<ReleasedFrameInfo> released_software_frame_;
757 758
758 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 759 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
759 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 760 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
760 }; 761 };
761 762
762 } // namespace content 763 } // namespace content
763 764
764 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 765 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698