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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 // ui::GestureProviderClient implementation. | 173 // ui::GestureProviderClient implementation. |
174 virtual void OnGestureEvent(const ui::GestureEventData& gesture) OVERRIDE; | 174 virtual void OnGestureEvent(const ui::GestureEventData& gesture) OVERRIDE; |
175 | 175 |
176 // ui::WindowAndroidObserver implementation. | 176 // ui::WindowAndroidObserver implementation. |
177 virtual void OnCompositingDidCommit() OVERRIDE; | 177 virtual void OnCompositingDidCommit() OVERRIDE; |
178 virtual void OnAttachCompositor() OVERRIDE {} | 178 virtual void OnAttachCompositor() OVERRIDE {} |
179 virtual void OnDetachCompositor() OVERRIDE; | 179 virtual void OnDetachCompositor() OVERRIDE; |
180 virtual void OnWillDestroyWindow() OVERRIDE; | 180 virtual void OnWillDestroyWindow() OVERRIDE; |
181 virtual void OnVSync(base::TimeTicks frame_time, | 181 virtual void OnVSync(base::TimeTicks frame_time, |
182 base::TimeDelta vsync_period) OVERRIDE; | 182 base::TimeDelta vsync_period) OVERRIDE; |
| 183 virtual void OnAnimate(base::TimeTicks begin_frame_time) OVERRIDE; |
183 | 184 |
184 // ImageTransportFactoryAndroidObserver implementation. | 185 // ImageTransportFactoryAndroidObserver implementation. |
185 virtual void OnLostResources() OVERRIDE; | 186 virtual void OnLostResources() OVERRIDE; |
186 | 187 |
187 // DelegatedFrameEvictor implementation | 188 // DelegatedFrameEvictor implementation |
188 virtual void EvictDelegatedFrame() OVERRIDE; | 189 virtual void EvictDelegatedFrame() OVERRIDE; |
189 | 190 |
190 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; | 191 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; |
191 | 192 |
192 // Non-virtual methods | 193 // Non-virtual methods |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 }; | 354 }; |
354 | 355 |
355 scoped_ptr<LastFrameInfo> last_frame_info_; | 356 scoped_ptr<LastFrameInfo> last_frame_info_; |
356 | 357 |
357 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 358 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
358 }; | 359 }; |
359 | 360 |
360 } // namespace content | 361 } // namespace content |
361 | 362 |
362 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 363 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |