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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 void BuffersSwapped(const gpu::Mailbox& mailbox, | 251 void BuffersSwapped(const gpu::Mailbox& mailbox, |
252 uint32_t output_surface_id, | 252 uint32_t output_surface_id, |
253 const base::Closure& ack_callback); | 253 const base::Closure& ack_callback); |
254 | 254 |
255 void RunAckCallbacks(); | 255 void RunAckCallbacks(); |
256 | 256 |
257 void DestroyDelegatedContent(); | 257 void DestroyDelegatedContent(); |
258 void SwapDelegatedFrame(uint32 output_surface_id, | 258 void SwapDelegatedFrame(uint32 output_surface_id, |
259 scoped_ptr<cc::DelegatedFrameData> frame_data); | 259 scoped_ptr<cc::DelegatedFrameData> frame_data); |
260 void SendDelegatedFrameAck(uint32 output_surface_id); | 260 void SendDelegatedFrameAck(uint32 output_surface_id); |
| 261 void SendReturnedDelegatedResources(uint32 output_surface_id); |
261 | 262 |
262 void UpdateContentViewCoreFrameMetadata( | 263 void UpdateContentViewCoreFrameMetadata( |
263 const cc::CompositorFrameMetadata& frame_metadata); | 264 const cc::CompositorFrameMetadata& frame_metadata); |
264 void ComputeContentsSize(const cc::CompositorFrameMetadata& frame_metadata); | 265 void ComputeContentsSize(const cc::CompositorFrameMetadata& frame_metadata); |
265 void ResetClipping(); | 266 void ResetClipping(); |
266 void ClipContents(const gfx::Rect& clipping, const gfx::Size& content_size); | 267 void ClipContents(const gfx::Rect& clipping, const gfx::Size& content_size); |
267 | 268 |
268 void AttachLayers(); | 269 void AttachLayers(); |
269 void RemoveLayers(); | 270 void RemoveLayers(); |
270 | 271 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 const bool using_synchronous_compositor_; | 357 const bool using_synchronous_compositor_; |
357 | 358 |
358 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; | 359 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; |
359 | 360 |
360 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 361 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
361 }; | 362 }; |
362 | 363 |
363 } // namespace content | 364 } // namespace content |
364 | 365 |
365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 366 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |