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

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: compile_err 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 223 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
224 virtual void AcceleratedSurfaceRelease() OVERRIDE; 224 virtual void AcceleratedSurfaceRelease() OVERRIDE;
225 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 225 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
226 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; 226 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE;
227 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 227 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
228 virtual void GestureEventAck(int gesture_event_type, 228 virtual void GestureEventAck(int gesture_event_type,
229 InputEventAckState ack_result) OVERRIDE; 229 InputEventAckState ack_result) OVERRIDE;
230 virtual void ProcessAckedTouchEvent( 230 virtual void ProcessAckedTouchEvent(
231 const TouchEventWithLatencyInfo& touch, 231 const TouchEventWithLatencyInfo& touch,
232 InputEventAckState ack_result) OVERRIDE; 232 InputEventAckState ack_result) OVERRIDE;
233 virtual SyntheticGestureTarget* CreateSyntheticGestureTarget() OVERRIDE;
233 virtual SyntheticGesture* CreateSmoothScrollGesture( 234 virtual SyntheticGesture* CreateSmoothScrollGesture(
234 bool scroll_down, 235 bool scroll_down,
235 int pixels_to_scroll, 236 int pixels_to_scroll,
236 int mouse_event_x, 237 int mouse_event_x,
237 int mouse_event_y) OVERRIDE; 238 int mouse_event_y) OVERRIDE;
238 virtual void SetHasHorizontalScrollbar( 239 virtual void SetHasHorizontalScrollbar(
239 bool has_horizontal_scrollbar) OVERRIDE; 240 bool has_horizontal_scrollbar) OVERRIDE;
240 virtual void SetScrollOffsetPinning( 241 virtual void SetScrollOffsetPinning(
241 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 242 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
242 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 243 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 scoped_ptr<ReleasedFrameInfo> released_software_frame_; 769 scoped_ptr<ReleasedFrameInfo> released_software_frame_;
769 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; 770 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_;
770 771
771 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 772 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
772 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 773 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
773 }; 774 };
774 775
775 } // namespace content 776 } // namespace content
776 777
777 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 778 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698