| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 BrowserAccessibilityDelegate* delegate, bool for_root_frame); | 190 BrowserAccessibilityDelegate* delegate, bool for_root_frame); |
| 191 | 191 |
| 192 virtual void AccessibilityShowMenu(const gfx::Point& point); | 192 virtual void AccessibilityShowMenu(const gfx::Point& point); |
| 193 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); | 193 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); |
| 194 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); | 194 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); |
| 195 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); | 195 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); |
| 196 | 196 |
| 197 // Informs that the focused DOM node has changed. | 197 // Informs that the focused DOM node has changed. |
| 198 virtual void FocusedNodeChanged(bool is_editable_node) {} | 198 virtual void FocusedNodeChanged(bool is_editable_node) {} |
| 199 | 199 |
| 200 virtual void OnSwapCompositorFrame( | 200 virtual void OnSwapCompositorFrame(uint32_t output_surface_id, |
| 201 uint32_t output_surface_id, | 201 cc::CompositorFrame frame) {} |
| 202 std::unique_ptr<cc::CompositorFrame> frame) {} | |
| 203 | 202 |
| 204 // This method exists to allow removing of displayed graphics, after a new | 203 // This method exists to allow removing of displayed graphics, after a new |
| 205 // page has been loaded, to prevent the displayed URL from being out of sync | 204 // page has been loaded, to prevent the displayed URL from being out of sync |
| 206 // with what is visible on screen. | 205 // with what is visible on screen. |
| 207 virtual void ClearCompositorFrame() = 0; | 206 virtual void ClearCompositorFrame() = 0; |
| 208 | 207 |
| 209 // Because the associated remote WebKit instance can asynchronously | 208 // Because the associated remote WebKit instance can asynchronously |
| 210 // prevent-default on a dispatched touch event, the touch events are queued in | 209 // prevent-default on a dispatched touch event, the touch events are queued in |
| 211 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases | 210 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases |
| 212 // it to be consumed (when |ack_result| is NOT_CONSUMED OR NO_CONSUMER_EXISTS) | 211 // it to be consumed (when |ack_result| is NOT_CONSUMED OR NO_CONSUMER_EXISTS) |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; | 465 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; |
| 467 | 466 |
| 468 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 467 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
| 469 | 468 |
| 470 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 469 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 471 }; | 470 }; |
| 472 | 471 |
| 473 } // namespace content | 472 } // namespace content |
| 474 | 473 |
| 475 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 474 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |