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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
239 | 239 |
240 // Returns true when animation ticks are still needed. This avoids a separate | 240 // Returns true when animation ticks are still needed. This avoids a separate |
241 // round-trip for requesting follow-up animation. | 241 // round-trip for requesting follow-up animation. |
242 bool Animate(base::TimeTicks frame_time); | 242 bool Animate(base::TimeTicks frame_time); |
243 | 243 |
244 void SynchronousFrameMetadata( | 244 void SynchronousFrameMetadata( |
245 const cc::CompositorFrameMetadata& frame_metadata); | 245 const cc::CompositorFrameMetadata& frame_metadata); |
246 | 246 |
247 void SetOverlayVideoMode(bool enabled); | 247 void SetOverlayVideoMode(bool enabled); |
248 | 248 |
249 bool IsReadbackConfigSupported(SkBitmap::Config bitmap_config); | |
no sievers
2014/02/28 19:25:53
private
sivag
2014/03/04 09:46:45
Done.
| |
250 | |
249 private: | 251 private: |
250 void BuffersSwapped(const gpu::Mailbox& mailbox, | 252 void BuffersSwapped(const gpu::Mailbox& mailbox, |
251 uint32_t output_surface_id, | 253 uint32_t output_surface_id, |
252 const base::Closure& ack_callback); | 254 const base::Closure& ack_callback); |
253 | 255 |
254 void RunAckCallbacks(); | 256 void RunAckCallbacks(); |
255 | 257 |
256 void DestroyDelegatedContent(); | 258 void DestroyDelegatedContent(); |
257 void SwapDelegatedFrame(uint32 output_surface_id, | 259 void SwapDelegatedFrame(uint32 output_surface_id, |
258 scoped_ptr<cc::DelegatedFrameData> frame_data); | 260 scoped_ptr<cc::DelegatedFrameData> frame_data); |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
356 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; | 358 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; |
357 | 359 |
358 bool using_delegated_renderer_; | 360 bool using_delegated_renderer_; |
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 |