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_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 <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 const SkColorType color_type) OVERRIDE; | 190 const SkColorType color_type) OVERRIDE; |
191 virtual void CopyFromCompositingSurfaceToVideoFrame( | 191 virtual void CopyFromCompositingSurfaceToVideoFrame( |
192 const gfx::Rect& src_subrect, | 192 const gfx::Rect& src_subrect, |
193 const scoped_refptr<media::VideoFrame>& target, | 193 const scoped_refptr<media::VideoFrame>& target, |
194 const base::Callback<void(bool)>& callback) OVERRIDE; | 194 const base::Callback<void(bool)>& callback) OVERRIDE; |
195 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 195 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
196 virtual bool CanSubscribeFrame() const OVERRIDE; | 196 virtual bool CanSubscribeFrame() const OVERRIDE; |
197 virtual void BeginFrameSubscription( | 197 virtual void BeginFrameSubscription( |
198 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; | 198 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; |
199 virtual void EndFrameSubscription() OVERRIDE; | 199 virtual void EndFrameSubscription() OVERRIDE; |
200 virtual void AcceleratedSurfaceInitialized(int host_id, | |
201 int route_id) OVERRIDE; | |
202 virtual void AcceleratedSurfaceBuffersSwapped( | |
203 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel, | |
204 int gpu_host_id) OVERRIDE; | |
205 virtual void AcceleratedSurfacePostSubBuffer( | |
206 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel, | |
207 int gpu_host_id) OVERRIDE; | |
208 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | |
209 virtual void AcceleratedSurfaceRelease() OVERRIDE; | |
210 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 200 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
211 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; | 201 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; |
212 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 202 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
213 virtual void WheelEventAck(const blink::WebMouseWheelEvent& event, | 203 virtual void WheelEventAck(const blink::WebMouseWheelEvent& event, |
214 InputEventAckState ack_result) OVERRIDE; | 204 InputEventAckState ack_result) OVERRIDE; |
215 virtual void GestureEventAck(const blink::WebGestureEvent& event, | 205 virtual void GestureEventAck(const blink::WebGestureEvent& event, |
216 InputEventAckState ack_result) OVERRIDE; | 206 InputEventAckState ack_result) OVERRIDE; |
217 virtual void ProcessAckedTouchEvent( | 207 virtual void ProcessAckedTouchEvent( |
218 const TouchEventWithLatencyInfo& touch, | 208 const TouchEventWithLatencyInfo& touch, |
219 InputEventAckState ack_result) OVERRIDE; | 209 InputEventAckState ack_result) OVERRIDE; |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 // view, so we can ensure the window hasn't moved between copying from the | 623 // view, so we can ensure the window hasn't moved between copying from the |
634 // compositing surface and showing the disambiguation popup. | 624 // compositing surface and showing the disambiguation popup. |
635 gfx::Vector2dF disambiguation_scroll_offset_; | 625 gfx::Vector2dF disambiguation_scroll_offset_; |
636 | 626 |
637 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 627 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
638 }; | 628 }; |
639 | 629 |
640 } // namespace content | 630 } // namespace content |
641 | 631 |
642 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 632 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |