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

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

Issue 62443007: Replace old with new synthetic gesture framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forward declare SyntheticGestureController. 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 227 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
228 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; 228 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE;
229 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 229 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
230 virtual void GestureEventAck(int gesture_event_type, 230 virtual void GestureEventAck(int gesture_event_type,
231 InputEventAckState ack_result) OVERRIDE; 231 InputEventAckState ack_result) OVERRIDE;
232 virtual void ProcessAckedTouchEvent( 232 virtual void ProcessAckedTouchEvent(
233 const TouchEventWithLatencyInfo& touch, 233 const TouchEventWithLatencyInfo& touch,
234 InputEventAckState ack_result) OVERRIDE; 234 InputEventAckState ack_result) OVERRIDE;
235 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 235 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
236 OVERRIDE; 236 OVERRIDE;
237 virtual SyntheticGesture* CreateSmoothScrollGesture(
238 bool scroll_down,
239 int pixels_to_scroll,
240 int mouse_event_x,
241 int mouse_event_y) OVERRIDE;
242 virtual void SetHasHorizontalScrollbar( 237 virtual void SetHasHorizontalScrollbar(
243 bool has_horizontal_scrollbar) OVERRIDE; 238 bool has_horizontal_scrollbar) OVERRIDE;
244 virtual void SetScrollOffsetPinning( 239 virtual void SetScrollOffsetPinning(
245 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 240 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
246 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 241 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
247 virtual void OnAccessibilityEvents( 242 virtual void OnAccessibilityEvents(
248 const std::vector<AccessibilityHostMsg_EventParams>& 243 const std::vector<AccessibilityHostMsg_EventParams>&
249 params) OVERRIDE; 244 params) OVERRIDE;
250 virtual bool LockMouse() OVERRIDE; 245 virtual bool LockMouse() OVERRIDE;
251 virtual void UnlockMouse() OVERRIDE; 246 virtual void UnlockMouse() OVERRIDE;
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 scoped_ptr<ReleasedFrameInfo> released_software_frame_; 758 scoped_ptr<ReleasedFrameInfo> released_software_frame_;
764 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; 759 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_;
765 760
766 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 761 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
767 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 762 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
768 }; 763 };
769 764
770 } // namespace content 765 } // namespace content
771 766
772 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 767 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698