| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 virtual void WheelEventAck(const blink::WebMouseWheelEvent& event, | 165 virtual void WheelEventAck(const blink::WebMouseWheelEvent& event, |
| 166 InputEventAckState ack_result); | 166 InputEventAckState ack_result); |
| 167 | 167 |
| 168 virtual void GestureEventAck(const blink::WebGestureEvent& event, | 168 virtual void GestureEventAck(const blink::WebGestureEvent& event, |
| 169 InputEventAckState ack_result); | 169 InputEventAckState ack_result); |
| 170 | 170 |
| 171 // Create a platform specific SyntheticGestureTarget implementation that will | 171 // Create a platform specific SyntheticGestureTarget implementation that will |
| 172 // be used to inject synthetic input events. | 172 // be used to inject synthetic input events. |
| 173 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget(); | 173 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget(); |
| 174 | 174 |
| 175 // Create a BrowserAccessibilityManager for this view. | 175 // Create a BrowserAccessibilityManager for a frame in this view. |
| 176 // If |for_root_frame| is true, creates a BrowserAccessibilityManager |
| 177 // suitable for the root frame, which may be linked to its native |
| 178 // window container. |
| 176 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 179 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 177 BrowserAccessibilityDelegate* delegate); | 180 BrowserAccessibilityDelegate* delegate, bool for_root_frame); |
| 178 | 181 |
| 179 virtual void AccessibilityShowMenu(const gfx::Point& point); | 182 virtual void AccessibilityShowMenu(const gfx::Point& point); |
| 180 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); | 183 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); |
| 181 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); | 184 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); |
| 182 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); | 185 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); |
| 183 | 186 |
| 184 // Informs that the focused DOM node has changed. | 187 // Informs that the focused DOM node has changed. |
| 185 virtual void FocusedNodeChanged(bool is_editable_node) {} | 188 virtual void FocusedNodeChanged(bool is_editable_node) {} |
| 186 | 189 |
| 187 virtual void OnSwapCompositorFrame(uint32_t output_surface_id, | 190 virtual void OnSwapCompositorFrame(uint32_t output_surface_id, |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; | 476 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; |
| 474 | 477 |
| 475 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 478 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
| 476 | 479 |
| 477 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 480 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 478 }; | 481 }; |
| 479 | 482 |
| 480 } // namespace content | 483 } // namespace content |
| 481 | 484 |
| 482 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 485 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |