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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
209 virtual void AccessibilityShowMenu(const gfx::Point& point); | 209 virtual void AccessibilityShowMenu(const gfx::Point& point); |
210 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); | 210 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); |
211 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); | 211 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); |
212 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); | 212 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); |
213 | 213 |
214 // Informs that the focused DOM node has changed. | 214 // Informs that the focused DOM node has changed. |
215 virtual void FocusedNodeChanged(bool is_editable_node, | 215 virtual void FocusedNodeChanged(bool is_editable_node, |
216 const gfx::Rect& node_bounds_in_screen) {} | 216 const gfx::Rect& node_bounds_in_screen) {} |
217 | 217 |
218 virtual void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, | 218 virtual void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, |
219 cc::LocalSurfaceId local_surface_id, | |
Fady Samuel
2017/03/15 12:05:48
const cc::LocalSurfaceId&
Saman Sami
2017/03/16 18:33:07
Done.
| |
219 cc::CompositorFrame frame) {} | 220 cc::CompositorFrame frame) {} |
220 | 221 |
221 // This method exists to allow removing of displayed graphics, after a new | 222 // This method exists to allow removing of displayed graphics, after a new |
222 // page has been loaded, to prevent the displayed URL from being out of sync | 223 // page has been loaded, to prevent the displayed URL from being out of sync |
223 // with what is visible on screen. | 224 // with what is visible on screen. |
224 virtual void ClearCompositorFrame() = 0; | 225 virtual void ClearCompositorFrame() = 0; |
225 | 226 |
226 // Because the associated remote WebKit instance can asynchronously | 227 // Because the associated remote WebKit instance can asynchronously |
227 // prevent-default on a dispatched touch event, the touch events are queued in | 228 // prevent-default on a dispatched touch event, the touch events are queued in |
228 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases | 229 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
454 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; | 455 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; |
455 | 456 |
456 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 457 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
457 | 458 |
458 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 459 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
459 }; | 460 }; |
460 | 461 |
461 } // namespace content | 462 } // namespace content |
462 | 463 |
463 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 464 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |