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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 void OnTextSurroundingSelectionResponse(const base::string16& content, | 162 void OnTextSurroundingSelectionResponse(const base::string16& content, |
163 size_t start_offset, | 163 size_t start_offset, |
164 size_t end_offset) override; | 164 size_t end_offset) override; |
165 void OnDidNavigateMainFrameToNewPage() override; | 165 void OnDidNavigateMainFrameToNewPage() override; |
166 | 166 |
167 // cc::DelegatedFrameResourceCollectionClient implementation. | 167 // cc::DelegatedFrameResourceCollectionClient implementation. |
168 void UnusedResourcesAreAvailable() override; | 168 void UnusedResourcesAreAvailable() override; |
169 | 169 |
170 // cc::SurfaceFactoryClient implementation. | 170 // cc::SurfaceFactoryClient implementation. |
171 void ReturnResources(const cc::ReturnedResourceArray& resources) override; | 171 void ReturnResources(const cc::ReturnedResourceArray& resources) override; |
| 172 void SetBeginFrameSource(cc::SurfaceId surface_id, |
| 173 cc::BeginFrameSource* begin_frame_source) override; |
172 | 174 |
173 // ui::GestureProviderClient implementation. | 175 // ui::GestureProviderClient implementation. |
174 void OnGestureEvent(const ui::GestureEventData& gesture) override; | 176 void OnGestureEvent(const ui::GestureEventData& gesture) override; |
175 | 177 |
176 // ui::WindowAndroidObserver implementation. | 178 // ui::WindowAndroidObserver implementation. |
177 void OnCompositingDidCommit() override; | 179 void OnCompositingDidCommit() override; |
178 void OnRootWindowVisibilityChanged(bool visible) override; | 180 void OnRootWindowVisibilityChanged(bool visible) override; |
179 void OnAttachCompositor() override; | 181 void OnAttachCompositor() override; |
180 void OnDetachCompositor() override; | 182 void OnDetachCompositor() override; |
181 void OnVSync(base::TimeTicks frame_time, | 183 void OnVSync(base::TimeTicks frame_time, |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 gfx::Vector2dF last_scroll_offset_; | 418 gfx::Vector2dF last_scroll_offset_; |
417 | 419 |
418 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 420 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
419 | 421 |
420 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 422 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
421 }; | 423 }; |
422 | 424 |
423 } // namespace content | 425 } // namespace content |
424 | 426 |
425 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 427 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |