| 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::BeginFrameSource* begin_frame_source) override; |
| 172 | 173 |
| 173 // ui::GestureProviderClient implementation. | 174 // ui::GestureProviderClient implementation. |
| 174 void OnGestureEvent(const ui::GestureEventData& gesture) override; | 175 void OnGestureEvent(const ui::GestureEventData& gesture) override; |
| 175 | 176 |
| 176 // ui::WindowAndroidObserver implementation. | 177 // ui::WindowAndroidObserver implementation. |
| 177 void OnCompositingDidCommit() override; | 178 void OnCompositingDidCommit() override; |
| 178 void OnRootWindowVisibilityChanged(bool visible) override; | 179 void OnRootWindowVisibilityChanged(bool visible) override; |
| 179 void OnAttachCompositor() override; | 180 void OnAttachCompositor() override; |
| 180 void OnDetachCompositor() override; | 181 void OnDetachCompositor() override; |
| 181 void OnVSync(base::TimeTicks frame_time, | 182 void OnVSync(base::TimeTicks frame_time, |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 gfx::Vector2dF last_scroll_offset_; | 413 gfx::Vector2dF last_scroll_offset_; |
| 413 | 414 |
| 414 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 415 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 415 | 416 |
| 416 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 417 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 417 }; | 418 }; |
| 418 | 419 |
| 419 } // namespace content | 420 } // namespace content |
| 420 | 421 |
| 421 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 422 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |