Chromium Code Reviews| 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); | |
| 262 | |
|
danakj
2014/02/04 18:14:37
extra whitespace
| |
| 261 | 263 |
| 262 void UpdateContentViewCoreFrameMetadata( | 264 void UpdateContentViewCoreFrameMetadata( |
| 263 const cc::CompositorFrameMetadata& frame_metadata); | 265 const cc::CompositorFrameMetadata& frame_metadata); |
| 264 void ComputeContentsSize(const cc::CompositorFrameMetadata& frame_metadata); | 266 void ComputeContentsSize(const cc::CompositorFrameMetadata& frame_metadata); |
| 265 void ResetClipping(); | 267 void ResetClipping(); |
| 266 void ClipContents(const gfx::Rect& clipping, const gfx::Size& content_size); | 268 void ClipContents(const gfx::Rect& clipping, const gfx::Size& content_size); |
| 267 | 269 |
| 268 void AttachLayers(); | 270 void AttachLayers(); |
| 269 void RemoveLayers(); | 271 void RemoveLayers(); |
| 270 | 272 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 356 const bool using_synchronous_compositor_; | 358 const bool using_synchronous_compositor_; |
| 357 | 359 |
| 358 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; | 360 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; |
| 359 | 361 |
| 360 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 362 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 361 }; | 363 }; |
| 362 | 364 |
| 363 } // namespace content | 365 } // namespace content |
| 364 | 366 |
| 365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 367 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |