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