| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 // window container. | 197 // window container. |
| 198 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 198 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 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 const gfx::Rect& node_bounds_in_screen) {} |
| 208 | 209 |
| 209 virtual void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, | 210 virtual void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, |
| 210 cc::CompositorFrame frame) {} | 211 cc::CompositorFrame frame) {} |
| 211 | 212 |
| 212 // This method exists to allow removing of displayed graphics, after a new | 213 // 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 | 214 // page has been loaded, to prevent the displayed URL from being out of sync |
| 214 // with what is visible on screen. | 215 // with what is visible on screen. |
| 215 virtual void ClearCompositorFrame() = 0; | 216 virtual void ClearCompositorFrame() = 0; |
| 216 | 217 |
| 217 // Because the associated remote WebKit instance can asynchronously | 218 // Because the associated remote WebKit instance can asynchronously |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 480 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; | 481 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; |
| 481 | 482 |
| 482 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 483 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
| 483 | 484 |
| 484 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 485 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 485 }; | 486 }; |
| 486 | 487 |
| 487 } // namespace content | 488 } // namespace content |
| 488 | 489 |
| 489 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 490 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |