| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 225 |
| 226 // Used for image transport when needing to share resources across threads. | 226 // Used for image transport when needing to share resources across threads. |
| 227 scoped_ptr<SurfaceTextureTransportClient> surface_texture_transport_; | 227 scoped_ptr<SurfaceTextureTransportClient> surface_texture_transport_; |
| 228 | 228 |
| 229 // The mailbox of the previously received frame. | 229 // The mailbox of the previously received frame. |
| 230 gpu::Mailbox current_mailbox_; | 230 gpu::Mailbox current_mailbox_; |
| 231 | 231 |
| 232 // The mailbox of the frame we last returned. | 232 // The mailbox of the frame we last returned. |
| 233 gpu::Mailbox last_mailbox_; | 233 gpu::Mailbox last_mailbox_; |
| 234 | 234 |
| 235 bool consumed_current_texture_; | |
| 236 | |
| 237 std::queue<base::Closure> ack_callbacks_; | 235 std::queue<base::Closure> ack_callbacks_; |
| 238 | 236 |
| 239 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 237 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 240 }; | 238 }; |
| 241 | 239 |
| 242 } // namespace content | 240 } // namespace content |
| 243 | 241 |
| 244 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 242 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |