Chromium Code Reviews| 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_BASE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| 7 | 7 |
| 8 #if defined(OS_MACOSX) | 8 #if defined(OS_MACOSX) |
| 9 #include <OpenGL/OpenGL.h> | 9 #include <OpenGL/OpenGL.h> |
| 10 #endif | 10 #endif |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 312 // TextSurroundingSelectionRequest. | 312 // TextSurroundingSelectionRequest. |
| 313 virtual void OnTextSurroundingSelectionResponse(const base::string16& content, | 313 virtual void OnTextSurroundingSelectionResponse(const base::string16& content, |
| 314 size_t start_offset, | 314 size_t start_offset, |
| 315 size_t end_offset); | 315 size_t end_offset); |
| 316 | 316 |
| 317 // Called by the RenderWidgetHost when an ambiguous gesture is detected to | 317 // Called by the RenderWidgetHost when an ambiguous gesture is detected to |
| 318 // show the disambiguation popup bubble. | 318 // show the disambiguation popup bubble. |
| 319 virtual void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 319 virtual void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
| 320 const SkBitmap& zoomed_bitmap); | 320 const SkBitmap& zoomed_bitmap); |
| 321 | 321 |
| 322 // Cancel all the active touch events for the current main frame. | |
|
nasko
2015/02/04 22:02:42
If this is all this method does, then it has the w
lanwei
2015/02/05 20:08:27
Done.
| |
| 323 virtual void OnDidNavigateMainFrameToNewPage(); | |
| 324 | |
| 322 #if defined(OS_ANDROID) | 325 #if defined(OS_ANDROID) |
| 323 // Instructs the view to not drop the surface even when the view is hidden. | 326 // Instructs the view to not drop the surface even when the view is hidden. |
| 324 virtual void LockCompositingSurface() = 0; | 327 virtual void LockCompositingSurface() = 0; |
| 325 virtual void UnlockCompositingSurface() = 0; | 328 virtual void UnlockCompositingSurface() = 0; |
| 326 #endif | 329 #endif |
| 327 | 330 |
| 328 #if defined(OS_MACOSX) | 331 #if defined(OS_MACOSX) |
| 329 // Does any event handling necessary for plugin IME; should be called after | 332 // Does any event handling necessary for plugin IME; should be called after |
| 330 // the plugin has already had a chance to process the event. If plugin IME is | 333 // the plugin has already had a chance to process the event. If plugin IME is |
| 331 // not enabled, this is a no-op, so it is always safe to call. | 334 // not enabled, this is a no-op, so it is always safe to call. |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 419 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 422 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
| 420 | 423 |
| 421 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 424 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
| 422 | 425 |
| 423 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 426 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 424 }; | 427 }; |
| 425 | 428 |
| 426 } // namespace content | 429 } // namespace content |
| 427 | 430 |
| 428 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 431 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |