| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 virtual void Blur() OVERRIDE; | 80 virtual void Blur() OVERRIDE; |
| 81 virtual bool CopyFromBackingStore(skia::PlatformCanvas* output) OVERRIDE; | 81 virtual bool CopyFromBackingStore(skia::PlatformCanvas* output) OVERRIDE; |
| 82 #if defined(TOOLKIT_GTK) | 82 #if defined(TOOLKIT_GTK) |
| 83 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, | 83 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, |
| 84 GdkWindow* target) OVERRIDE; | 84 GdkWindow* target) OVERRIDE; |
| 85 #elif defined(OS_MACOSX) | 85 #elif defined(OS_MACOSX) |
| 86 virtual gfx::Size GetBackingStoreSize() OVERRIDE; | 86 virtual gfx::Size GetBackingStoreSize() OVERRIDE; |
| 87 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, | 87 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, |
| 88 CGContextRef target) OVERRIDE; | 88 CGContextRef target) OVERRIDE; |
| 89 #endif | 89 #endif |
| 90 virtual bool CopyFromCompositingSurface( |
| 91 const gfx::Size& size, |
| 92 skia::PlatformCanvas* output) OVERRIDE; |
| 90 virtual void EnableRendererAccessibility() OVERRIDE; | 93 virtual void EnableRendererAccessibility() OVERRIDE; |
| 91 virtual void ForwardMouseEvent( | 94 virtual void ForwardMouseEvent( |
| 92 const WebKit::WebMouseEvent& mouse_event) OVERRIDE; | 95 const WebKit::WebMouseEvent& mouse_event) OVERRIDE; |
| 93 virtual void ForwardWheelEvent( | 96 virtual void ForwardWheelEvent( |
| 94 const WebKit::WebMouseWheelEvent& wheel_event) OVERRIDE; | 97 const WebKit::WebMouseWheelEvent& wheel_event) OVERRIDE; |
| 95 virtual void ForwardKeyboardEvent( | 98 virtual void ForwardKeyboardEvent( |
| 96 const NativeWebKeyboardEvent& key_event) OVERRIDE; | 99 const NativeWebKeyboardEvent& key_event) OVERRIDE; |
| 97 virtual const gfx::Point& GetLastScrollOffset() const OVERRIDE; | 100 virtual const gfx::Point& GetLastScrollOffset() const OVERRIDE; |
| 98 virtual content::RenderProcessHost* GetProcess() const OVERRIDE; | 101 virtual content::RenderProcessHost* GetProcess() const OVERRIDE; |
| 99 virtual int GetRoutingID() const OVERRIDE; | 102 virtual int GetRoutingID() const OVERRIDE; |
| (...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 684 // then touch events are sent to the renderer. Otherwise, the touch events are | 687 // then touch events are sent to the renderer. Otherwise, the touch events are |
| 685 // not sent to the renderer. | 688 // not sent to the renderer. |
| 686 bool has_touch_handler_; | 689 bool has_touch_handler_; |
| 687 | 690 |
| 688 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 691 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 689 | 692 |
| 690 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 693 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 691 }; | 694 }; |
| 692 | 695 |
| 693 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 696 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |