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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() override; | 159 scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() override; |
160 void LockCompositingSurface() override; | 160 void LockCompositingSurface() override; |
161 void UnlockCompositingSurface() override; | 161 void UnlockCompositingSurface() override; |
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::SurfaceFactoryClient implementation. | 167 // cc::SurfaceFactoryClient implementation. |
168 void ReturnResources(const cc::ReturnedResourceArray& resources) override; | 168 void ReturnResources(const cc::ReturnedResourceArray& resources) override; |
169 void SetBeginFrameSource(cc::SurfaceId surface_id, | 169 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override; |
170 cc::BeginFrameSource* begin_frame_source) override; | |
171 | 170 |
172 // ui::GestureProviderClient implementation. | 171 // ui::GestureProviderClient implementation. |
173 void OnGestureEvent(const ui::GestureEventData& gesture) override; | 172 void OnGestureEvent(const ui::GestureEventData& gesture) override; |
174 | 173 |
175 // ui::WindowAndroidObserver implementation. | 174 // ui::WindowAndroidObserver implementation. |
176 void OnCompositingDidCommit() override; | 175 void OnCompositingDidCommit() override; |
177 void OnRootWindowVisibilityChanged(bool visible) override; | 176 void OnRootWindowVisibilityChanged(bool visible) override; |
178 void OnAttachCompositor() override; | 177 void OnAttachCompositor() override; |
179 void OnDetachCompositor() override; | 178 void OnDetachCompositor() override; |
180 void OnVSync(base::TimeTicks frame_time, | 179 void OnVSync(base::TimeTicks frame_time, |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 gfx::Vector2dF last_scroll_offset_; | 414 gfx::Vector2dF last_scroll_offset_; |
416 | 415 |
417 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 416 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
418 | 417 |
419 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 418 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
420 }; | 419 }; |
421 | 420 |
422 } // namespace content | 421 } // namespace content |
423 | 422 |
424 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 423 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |