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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 void DidOverscroll(const DidOverscrollParams& params) override; | 167 void DidOverscroll(const DidOverscrollParams& params) override; |
168 void DidStopFlinging() override; | 168 void DidStopFlinging() override; |
169 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 169 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
170 const SkBitmap& zoomed_bitmap) override; | 170 const SkBitmap& zoomed_bitmap) override; |
171 scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() override; | 171 scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() override; |
172 void LockCompositingSurface() override; | 172 void LockCompositingSurface() override; |
173 void UnlockCompositingSurface() override; | 173 void UnlockCompositingSurface() override; |
174 void OnTextSurroundingSelectionResponse(const base::string16& content, | 174 void OnTextSurroundingSelectionResponse(const base::string16& content, |
175 size_t start_offset, | 175 size_t start_offset, |
176 size_t end_offset) override; | 176 size_t end_offset) override; |
| 177 void OnDidNavigateMainFrameToNewPage() override; |
177 | 178 |
178 // cc::DelegatedFrameResourceCollectionClient implementation. | 179 // cc::DelegatedFrameResourceCollectionClient implementation. |
179 void UnusedResourcesAreAvailable() override; | 180 void UnusedResourcesAreAvailable() override; |
180 | 181 |
181 // ui::GestureProviderClient implementation. | 182 // ui::GestureProviderClient implementation. |
182 void OnGestureEvent(const ui::GestureEventData& gesture) override; | 183 void OnGestureEvent(const ui::GestureEventData& gesture) override; |
183 | 184 |
184 // ui::WindowAndroidObserver implementation. | 185 // ui::WindowAndroidObserver implementation. |
185 void OnCompositingDidCommit() override; | 186 void OnCompositingDidCommit() override; |
186 void OnAttachCompositor() override; | 187 void OnAttachCompositor() override; |
(...skipping 222 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 |