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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 size_t end_offset) OVERRIDE; | 192 size_t end_offset) OVERRIDE; |
193 | 193 |
194 // cc::DelegatedFrameResourceCollectionClient implementation. | 194 // cc::DelegatedFrameResourceCollectionClient implementation. |
195 virtual void UnusedResourcesAreAvailable() OVERRIDE; | 195 virtual void UnusedResourcesAreAvailable() OVERRIDE; |
196 | 196 |
197 // ui::GestureProviderClient implementation. | 197 // ui::GestureProviderClient implementation. |
198 virtual void OnGestureEvent(const ui::GestureEventData& gesture) OVERRIDE; | 198 virtual void OnGestureEvent(const ui::GestureEventData& gesture) OVERRIDE; |
199 | 199 |
200 // ui::WindowAndroidObserver implementation. | 200 // ui::WindowAndroidObserver implementation. |
201 virtual void OnCompositingDidCommit() OVERRIDE; | 201 virtual void OnCompositingDidCommit() OVERRIDE; |
202 virtual void OnAttachCompositor() OVERRIDE {} | 202 virtual void OnAttachCompositor() OVERRIDE; |
203 virtual void OnDetachCompositor() OVERRIDE; | 203 virtual void OnDetachCompositor() OVERRIDE; |
204 virtual void OnVSync(base::TimeTicks frame_time, | 204 virtual void OnVSync(base::TimeTicks frame_time, |
205 base::TimeDelta vsync_period) OVERRIDE; | 205 base::TimeDelta vsync_period) OVERRIDE; |
206 virtual void OnAnimate(base::TimeTicks begin_frame_time) OVERRIDE; | 206 virtual void OnAnimate(base::TimeTicks begin_frame_time) OVERRIDE; |
207 | 207 |
208 // ImageTransportFactoryAndroidObserver implementation. | 208 // ImageTransportFactoryAndroidObserver implementation. |
209 virtual void OnLostResources() OVERRIDE; | 209 virtual void OnLostResources() OVERRIDE; |
210 | 210 |
211 // DelegatedFrameEvictor implementation | 211 // DelegatedFrameEvictor implementation |
212 virtual void EvictDelegatedFrame() OVERRIDE; | 212 virtual void EvictDelegatedFrame() OVERRIDE; |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 | 427 |
428 // List of readbackrequests waiting for arrival of a valid frame. | 428 // List of readbackrequests waiting for arrival of a valid frame. |
429 std::queue<ReadbackRequest> readbacks_waiting_for_frame_; | 429 std::queue<ReadbackRequest> readbacks_waiting_for_frame_; |
430 | 430 |
431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
432 }; | 432 }; |
433 | 433 |
434 } // namespace content | 434 } // namespace content |
435 | 435 |
436 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 436 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |