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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 242 | 242 |
| 243 // Returns true when animation ticks are still needed. This avoids a separate | 243 // Returns true when animation ticks are still needed. This avoids a separate |
| 244 // round-trip for requesting follow-up animation. | 244 // round-trip for requesting follow-up animation. |
| 245 bool Animate(base::TimeTicks frame_time); | 245 bool Animate(base::TimeTicks frame_time); |
| 246 | 246 |
| 247 void SynchronousFrameMetadata( | 247 void SynchronousFrameMetadata( |
| 248 const cc::CompositorFrameMetadata& frame_metadata); | 248 const cc::CompositorFrameMetadata& frame_metadata); |
| 249 | 249 |
| 250 void SetOverlayVideoMode(bool enabled); | 250 void SetOverlayVideoMode(bool enabled); |
| 251 | 251 |
| 252 bool IsReadBackConfigSupported(const SkBitmap::Config& bitmap_config); | |
|
vivekg
2014/02/20 00:53:31
nit: IsReadBackConfigSupported -> IsReadbackConfig
| |
| 253 | |
| 252 private: | 254 private: |
| 253 void BuffersSwapped(const gpu::Mailbox& mailbox, | 255 void BuffersSwapped(const gpu::Mailbox& mailbox, |
| 254 uint32_t output_surface_id, | 256 uint32_t output_surface_id, |
| 255 const base::Closure& ack_callback); | 257 const base::Closure& ack_callback); |
| 256 | 258 |
| 257 void RunAckCallbacks(); | 259 void RunAckCallbacks(); |
| 258 | 260 |
| 259 void DestroyDelegatedContent(); | 261 void DestroyDelegatedContent(); |
| 260 void SwapDelegatedFrame(uint32 output_surface_id, | 262 void SwapDelegatedFrame(uint32 output_surface_id, |
| 261 scoped_ptr<cc::DelegatedFrameData> frame_data); | 263 scoped_ptr<cc::DelegatedFrameData> frame_data); |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 359 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; | 361 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; |
| 360 | 362 |
| 361 bool using_delegated_renderer_; | 363 bool using_delegated_renderer_; |
| 362 | 364 |
| 363 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 365 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 364 }; | 366 }; |
| 365 | 367 |
| 366 } // namespace content | 368 } // namespace content |
| 367 | 369 |
| 368 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 370 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |