| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 // Return true if frame subscription is supported on this platform. | 147 // Return true if frame subscription is supported on this platform. |
| 148 virtual bool CanSubscribeFrame() const; | 148 virtual bool CanSubscribeFrame() const; |
| 149 | 149 |
| 150 // Create a BrowserAccessibilityManager for this view. | 150 // Create a BrowserAccessibilityManager for this view. |
| 151 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 151 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 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(); |
| 157 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); |
| 156 | 158 |
| 157 virtual SkColorType PreferredReadbackFormat(); | 159 virtual SkColorType PreferredReadbackFormat(); |
| 158 | 160 |
| 159 // Informs that the focused DOM node has changed. | 161 // Informs that the focused DOM node has changed. |
| 160 virtual void FocusedNodeChanged(bool is_editable_node) {} | 162 virtual void FocusedNodeChanged(bool is_editable_node) {} |
| 161 | 163 |
| 162 virtual void OnSwapCompositorFrame(uint32 output_surface_id, | 164 virtual void OnSwapCompositorFrame(uint32 output_surface_id, |
| 163 scoped_ptr<cc::CompositorFrame> frame) {} | 165 scoped_ptr<cc::CompositorFrame> frame) {} |
| 164 | 166 |
| 165 // Because the associated remote WebKit instance can asynchronously | 167 // Because the associated remote WebKit instance can asynchronously |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 uint32 renderer_frame_number_; | 427 uint32 renderer_frame_number_; |
| 426 | 428 |
| 427 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 429 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
| 428 | 430 |
| 429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 430 }; | 432 }; |
| 431 | 433 |
| 432 } // namespace content | 434 } // namespace content |
| 433 | 435 |
| 434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 436 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |