| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 virtual void AccessibilityShowMenu(const gfx::Point& point); | 213 virtual void AccessibilityShowMenu(const gfx::Point& point); |
| 214 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); | 214 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); |
| 215 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); | 215 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); |
| 216 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); | 216 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); |
| 217 | 217 |
| 218 // Informs that the focused DOM node has changed. | 218 // Informs that the focused DOM node has changed. |
| 219 virtual void FocusedNodeChanged(bool is_editable_node, | 219 virtual void FocusedNodeChanged(bool is_editable_node, |
| 220 const gfx::Rect& node_bounds_in_screen) {} | 220 const gfx::Rect& node_bounds_in_screen) {} |
| 221 | 221 |
| 222 virtual void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, | 222 virtual void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, |
| 223 const cc::LocalSurfaceId& local_surface_id, |
| 223 cc::CompositorFrame frame) {} | 224 cc::CompositorFrame frame) {} |
| 224 | 225 |
| 225 virtual void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) {} | 226 virtual void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) {} |
| 226 | 227 |
| 227 // This method exists to allow removing of displayed graphics, after a new | 228 // This method exists to allow removing of displayed graphics, after a new |
| 228 // page has been loaded, to prevent the displayed URL from being out of sync | 229 // page has been loaded, to prevent the displayed URL from being out of sync |
| 229 // with what is visible on screen. | 230 // with what is visible on screen. |
| 230 virtual void ClearCompositorFrame() = 0; | 231 virtual void ClearCompositorFrame() = 0; |
| 231 | 232 |
| 232 // Because the associated remote WebKit instance can asynchronously | 233 // Because the associated remote WebKit instance can asynchronously |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; | 461 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; |
| 461 | 462 |
| 462 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 463 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
| 463 | 464 |
| 464 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 465 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 465 }; | 466 }; |
| 466 | 467 |
| 467 } // namespace content | 468 } // namespace content |
| 468 | 469 |
| 469 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 470 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |