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 #if defined(OS_MACOSX) | 8 #if defined(OS_MACOSX) |
9 #include <OpenGL/OpenGL.h> | 9 #include <OpenGL/OpenGL.h> |
10 #endif | 10 #endif |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 BrowserAccessibilityDelegate* delegate); | 152 BrowserAccessibilityDelegate* delegate); |
153 | 153 |
154 virtual void AccessibilityShowMenu(const gfx::Point& point); | 154 virtual void AccessibilityShowMenu(const gfx::Point& point); |
155 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); | 155 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); |
156 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); | 156 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); |
157 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); | 157 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); |
158 | 158 |
159 virtual SkColorType PreferredReadbackFormat(); | 159 virtual SkColorType PreferredReadbackFormat(); |
160 | 160 |
161 // Informs that the focused DOM node has changed. | 161 // Informs that the focused DOM node has changed. |
162 virtual void FocusedNodeChanged(bool is_editable_node) {} | 162 virtual void FocusedNodeChanged(bool is_editable_node, |
| 163 int editable_node_max_length) {} |
163 | 164 |
164 virtual void OnSwapCompositorFrame(uint32 output_surface_id, | 165 virtual void OnSwapCompositorFrame(uint32 output_surface_id, |
165 scoped_ptr<cc::CompositorFrame> frame) {} | 166 scoped_ptr<cc::CompositorFrame> frame) {} |
166 | 167 |
167 // Because the associated remote WebKit instance can asynchronously | 168 // Because the associated remote WebKit instance can asynchronously |
168 // prevent-default on a dispatched touch event, the touch events are queued in | 169 // prevent-default on a dispatched touch event, the touch events are queued in |
169 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases | 170 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases |
170 // it to be consumed (when |ack_result| is NOT_CONSUMED OR NO_CONSUMER_EXISTS) | 171 // it to be consumed (when |ack_result| is NOT_CONSUMED OR NO_CONSUMER_EXISTS) |
171 // or ignored (when |ack_result| is CONSUMED). | 172 // or ignored (when |ack_result| is CONSUMED). |
172 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 173 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 uint32 renderer_frame_number_; | 428 uint32 renderer_frame_number_; |
428 | 429 |
429 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 430 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
430 | 431 |
431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 432 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
432 }; | 433 }; |
433 | 434 |
434 } // namespace content | 435 } // namespace content |
435 | 436 |
436 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 437 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |