OLD | NEW |
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_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 virtual void CopyFromCompositingSurfaceToVideoFrame( | 135 virtual void CopyFromCompositingSurfaceToVideoFrame( |
136 const gfx::Rect& src_subrect, | 136 const gfx::Rect& src_subrect, |
137 const scoped_refptr<media::VideoFrame>& target, | 137 const scoped_refptr<media::VideoFrame>& target, |
138 const base::Callback<void(bool)>& callback) OVERRIDE; | 138 const base::Callback<void(bool)>& callback) OVERRIDE; |
139 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 139 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
140 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; | 140 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; |
141 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 141 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
142 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 142 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
143 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 143 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
144 InputEventAckState ack_result) OVERRIDE; | 144 InputEventAckState ack_result) OVERRIDE; |
145 virtual void SetScrollOffsetPinning( | |
146 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | |
147 virtual InputEventAckState FilterInputEvent( | 145 virtual InputEventAckState FilterInputEvent( |
148 const blink::WebInputEvent& input_event) OVERRIDE; | 146 const blink::WebInputEvent& input_event) OVERRIDE; |
149 virtual void OnSetNeedsFlushInput() OVERRIDE; | 147 virtual void OnSetNeedsFlushInput() OVERRIDE; |
150 virtual void GestureEventAck(const blink::WebGestureEvent& event, | 148 virtual void GestureEventAck(const blink::WebGestureEvent& event, |
151 InputEventAckState ack_result) OVERRIDE; | 149 InputEventAckState ack_result) OVERRIDE; |
152 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; | 150 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; |
153 virtual bool LockMouse() OVERRIDE; | 151 virtual bool LockMouse() OVERRIDE; |
154 virtual void UnlockMouse() OVERRIDE; | 152 virtual void UnlockMouse() OVERRIDE; |
155 virtual void OnSwapCompositorFrame( | 153 virtual void OnSwapCompositorFrame( |
156 uint32 output_surface_id, | 154 uint32 output_surface_id, |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 }; | 348 }; |
351 | 349 |
352 scoped_ptr<LastFrameInfo> last_frame_info_; | 350 scoped_ptr<LastFrameInfo> last_frame_info_; |
353 | 351 |
354 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 352 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
355 }; | 353 }; |
356 | 354 |
357 } // namespace content | 355 } // namespace content |
358 | 356 |
359 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 357 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |