| 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 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 | 319 |
| 320 // Called by the RenderWidgetHost when an ambiguous gesture is detected to | 320 // Called by the RenderWidgetHost when an ambiguous gesture is detected to |
| 321 // show the disambiguation popup bubble. | 321 // show the disambiguation popup bubble. |
| 322 virtual void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 322 virtual void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
| 323 const SkBitmap& zoomed_bitmap); | 323 const SkBitmap& zoomed_bitmap); |
| 324 | 324 |
| 325 // Called by the WebContentsImpl when a user tries to navigate a new page on | 325 // Called by the WebContentsImpl when a user tries to navigate a new page on |
| 326 // main frame. | 326 // main frame. |
| 327 virtual void OnDidNavigateMainFrameToNewPage(); | 327 virtual void OnDidNavigateMainFrameToNewPage(); |
| 328 | 328 |
| 329 #if defined(OS_ANDROID) | 329 #if defined(OS_ANDROID) && !defined(USE_AURA) |
| 330 // Instructs the view to not drop the surface even when the view is hidden. | 330 // Instructs the view to not drop the surface even when the view is hidden. |
| 331 virtual void LockCompositingSurface() = 0; | 331 virtual void LockCompositingSurface() = 0; |
| 332 virtual void UnlockCompositingSurface() = 0; | 332 virtual void UnlockCompositingSurface() = 0; |
| 333 #endif | 333 #endif |
| 334 | 334 |
| 335 #if defined(OS_MACOSX) | 335 #if defined(OS_MACOSX) |
| 336 // Does any event handling necessary for plugin IME; should be called after | 336 // Does any event handling necessary for plugin IME; should be called after |
| 337 // the plugin has already had a chance to process the event. If plugin IME is | 337 // the plugin has already had a chance to process the event. If plugin IME is |
| 338 // not enabled, this is a no-op, so it is always safe to call. | 338 // not enabled, this is a no-op, so it is always safe to call. |
| 339 // Returns true if the event was handled by IME. | 339 // Returns true if the event was handled by IME. |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 base::OneShotTimer flush_input_timer_; | 426 base::OneShotTimer flush_input_timer_; |
| 427 | 427 |
| 428 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 428 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
| 429 | 429 |
| 430 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 430 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 431 }; | 431 }; |
| 432 | 432 |
| 433 } // namespace content | 433 } // namespace content |
| 434 | 434 |
| 435 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 435 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |