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

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: styles Created 7 years, 2 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
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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 222 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
223 virtual void AcceleratedSurfaceRelease() OVERRIDE; 223 virtual void AcceleratedSurfaceRelease() OVERRIDE;
224 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 224 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
225 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; 225 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE;
226 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 226 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
227 virtual void GestureEventAck(int gesture_event_type, 227 virtual void GestureEventAck(int gesture_event_type,
228 InputEventAckState ack_result) OVERRIDE; 228 InputEventAckState ack_result) OVERRIDE;
229 virtual void ProcessAckedTouchEvent( 229 virtual void ProcessAckedTouchEvent(
230 const TouchEventWithLatencyInfo& touch, 230 const TouchEventWithLatencyInfo& touch,
231 InputEventAckState ack_result) OVERRIDE; 231 InputEventAckState ack_result) OVERRIDE;
232 virtual void QueueInputEventToPlatform(const InputEvent& event) OVERRIDE;
232 virtual SyntheticGesture* CreateSmoothScrollGesture( 233 virtual SyntheticGesture* CreateSmoothScrollGesture(
233 bool scroll_down, 234 bool scroll_down,
234 int pixels_to_scroll, 235 int pixels_to_scroll,
235 int mouse_event_x, 236 int mouse_event_x,
236 int mouse_event_y) OVERRIDE; 237 int mouse_event_y) OVERRIDE;
237 virtual void SetHasHorizontalScrollbar( 238 virtual void SetHasHorizontalScrollbar(
238 bool has_horizontal_scrollbar) OVERRIDE; 239 bool has_horizontal_scrollbar) OVERRIDE;
239 virtual void SetScrollOffsetPinning( 240 virtual void SetScrollOffsetPinning(
240 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 241 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
241 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 242 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 unsigned frame_id; 744 unsigned frame_id;
744 }; 745 };
745 std::vector<ReleasedFrameInfo> released_software_frames_; 746 std::vector<ReleasedFrameInfo> released_software_frames_;
746 747
747 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 748 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
748 }; 749 };
749 750
750 } // namespace content 751 } // namespace content
751 752
752 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 753 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698