| 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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 const gfx::Size& accelerated_dst_size, | 111 const gfx::Size& accelerated_dst_size, |
| 112 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; | 112 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; |
| 113 #if defined(TOOLKIT_GTK) | 113 #if defined(TOOLKIT_GTK) |
| 114 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, | 114 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, |
| 115 GdkWindow* target) OVERRIDE; | 115 GdkWindow* target) OVERRIDE; |
| 116 #elif defined(OS_MACOSX) | 116 #elif defined(OS_MACOSX) |
| 117 virtual gfx::Size GetBackingStoreSize() OVERRIDE; | 117 virtual gfx::Size GetBackingStoreSize() OVERRIDE; |
| 118 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, | 118 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, |
| 119 CGContextRef target) OVERRIDE; | 119 CGContextRef target) OVERRIDE; |
| 120 #endif | 120 #endif |
| 121 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
| 122 virtual void CopyFromBackingStoreToVideoFrame( |
| 123 const gfx::Rect& src_rect, |
| 124 const scoped_refptr<media::VideoFrame>& target, |
| 125 const base::Callback<void(bool)>& callback) OVERRIDE; |
| 121 virtual void EnableFullAccessibilityMode() OVERRIDE; | 126 virtual void EnableFullAccessibilityMode() OVERRIDE; |
| 122 virtual void ForwardMouseEvent( | 127 virtual void ForwardMouseEvent( |
| 123 const WebKit::WebMouseEvent& mouse_event) OVERRIDE; | 128 const WebKit::WebMouseEvent& mouse_event) OVERRIDE; |
| 124 virtual void ForwardWheelEvent( | 129 virtual void ForwardWheelEvent( |
| 125 const WebKit::WebMouseWheelEvent& wheel_event) OVERRIDE; | 130 const WebKit::WebMouseWheelEvent& wheel_event) OVERRIDE; |
| 126 virtual void ForwardKeyboardEvent( | 131 virtual void ForwardKeyboardEvent( |
| 127 const NativeWebKeyboardEvent& key_event) OVERRIDE; | 132 const NativeWebKeyboardEvent& key_event) OVERRIDE; |
| 128 virtual const gfx::Vector2d& GetLastScrollOffset() const OVERRIDE; | 133 virtual const gfx::Vector2d& GetLastScrollOffset() const OVERRIDE; |
| 129 virtual RenderProcessHost* GetProcess() const OVERRIDE; | 134 virtual RenderProcessHost* GetProcess() const OVERRIDE; |
| 130 virtual int GetRoutingID() const OVERRIDE; | 135 virtual int GetRoutingID() const OVERRIDE; |
| (...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 #if defined(OS_WIN) | 883 #if defined(OS_WIN) |
| 879 std::list<HWND> dummy_windows_for_activation_; | 884 std::list<HWND> dummy_windows_for_activation_; |
| 880 #endif | 885 #endif |
| 881 | 886 |
| 882 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 887 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 883 }; | 888 }; |
| 884 | 889 |
| 885 } // namespace content | 890 } // namespace content |
| 886 | 891 |
| 887 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 892 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |