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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 BrowserAccessibilityDelegate* delegate, bool for_root_frame); | 199 BrowserAccessibilityDelegate* delegate, bool for_root_frame); |
200 | 200 |
201 virtual void AccessibilityShowMenu(const gfx::Point& point); | 201 virtual void AccessibilityShowMenu(const gfx::Point& point); |
202 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); | 202 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); |
203 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); | 203 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); |
204 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); | 204 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); |
205 | 205 |
206 // Informs that the focused DOM node has changed. | 206 // Informs that the focused DOM node has changed. |
207 virtual void FocusedNodeChanged(bool is_editable_node) {} | 207 virtual void FocusedNodeChanged(bool is_editable_node) {} |
208 | 208 |
209 virtual void OnSwapCompositorFrame(uint32_t output_surface_id, | 209 virtual void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, |
210 cc::CompositorFrame frame) {} | 210 cc::CompositorFrame frame) {} |
211 | 211 |
212 // This method exists to allow removing of displayed graphics, after a new | 212 // This method exists to allow removing of displayed graphics, after a new |
213 // page has been loaded, to prevent the displayed URL from being out of sync | 213 // page has been loaded, to prevent the displayed URL from being out of sync |
214 // with what is visible on screen. | 214 // with what is visible on screen. |
215 virtual void ClearCompositorFrame() = 0; | 215 virtual void ClearCompositorFrame() = 0; |
216 | 216 |
217 // Because the associated remote WebKit instance can asynchronously | 217 // Because the associated remote WebKit instance can asynchronously |
218 // prevent-default on a dispatched touch event, the touch events are queued in | 218 // prevent-default on a dispatched touch event, the touch events are queued in |
219 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases | 219 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; | 480 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; |
481 | 481 |
482 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 482 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
483 | 483 |
484 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 484 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
485 }; | 485 }; |
486 | 486 |
487 } // namespace content | 487 } // namespace content |
488 | 488 |
489 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 489 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |