| 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 // The mailbox of the previously received frame. | 266 // The mailbox of the previously received frame. |
| 267 gpu::Mailbox current_mailbox_; | 267 gpu::Mailbox current_mailbox_; |
| 268 | 268 |
| 269 // The mailbox of the frame we last returned. | 269 // The mailbox of the frame we last returned. |
| 270 gpu::Mailbox last_mailbox_; | 270 gpu::Mailbox last_mailbox_; |
| 271 | 271 |
| 272 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 272 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 273 | 273 |
| 274 std::queue<base::Closure> ack_callbacks_; | 274 std::queue<base::Closure> ack_callbacks_; |
| 275 | 275 |
| 276 // Indicates that we are waiting for a frame from the renderer. |
| 277 bool begin_frame_pending_; |
| 278 |
| 276 // Used to render overscroll overlays. | 279 // Used to render overscroll overlays. |
| 277 scoped_ptr<OverscrollGlow> overscroll_effect_; | 280 scoped_ptr<OverscrollGlow> overscroll_effect_; |
| 278 | 281 |
| 279 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 282 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 280 }; | 283 }; |
| 281 | 284 |
| 282 } // namespace content | 285 } // namespace content |
| 283 | 286 |
| 284 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 287 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |