Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 9582003: Support browser side thumbnailing for GPU composited pages on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual void Blur() OVERRIDE; 79 virtual void Blur() OVERRIDE;
80 virtual bool CopyFromBackingStore(skia::PlatformCanvas* output) OVERRIDE; 80 virtual bool CopyFromBackingStore(skia::PlatformCanvas* output) OVERRIDE;
81 #if defined(TOOLKIT_GTK) 81 #if defined(TOOLKIT_GTK)
82 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, 82 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect,
83 GdkWindow* target) OVERRIDE; 83 GdkWindow* target) OVERRIDE;
84 #elif defined(OS_MACOSX) 84 #elif defined(OS_MACOSX)
85 virtual gfx::Size GetBackingStoreSize() OVERRIDE; 85 virtual gfx::Size GetBackingStoreSize() OVERRIDE;
86 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, 86 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect,
87 CGContextRef target) OVERRIDE; 87 CGContextRef target) OVERRIDE;
88 #endif 88 #endif
89 virtual bool CopyFromCompositingSurface(
90 const gfx::Size& size,
91 skia::PlatformCanvas* output) OVERRIDE;
89 virtual void EnableRendererAccessibility() OVERRIDE; 92 virtual void EnableRendererAccessibility() OVERRIDE;
90 virtual void ForwardMouseEvent( 93 virtual void ForwardMouseEvent(
91 const WebKit::WebMouseEvent& mouse_event) OVERRIDE; 94 const WebKit::WebMouseEvent& mouse_event) OVERRIDE;
92 virtual void ForwardWheelEvent( 95 virtual void ForwardWheelEvent(
93 const WebKit::WebMouseWheelEvent& wheel_event) OVERRIDE; 96 const WebKit::WebMouseWheelEvent& wheel_event) OVERRIDE;
94 virtual void ForwardKeyboardEvent( 97 virtual void ForwardKeyboardEvent(
95 const NativeWebKeyboardEvent& key_event) OVERRIDE; 98 const NativeWebKeyboardEvent& key_event) OVERRIDE;
96 virtual const gfx::Point& GetLastScrollOffset() const OVERRIDE; 99 virtual const gfx::Point& GetLastScrollOffset() const OVERRIDE;
97 virtual RenderProcessHost* GetProcess() const OVERRIDE; 100 virtual RenderProcessHost* GetProcess() const OVERRIDE;
98 virtual int GetRoutingID() const OVERRIDE; 101 virtual int GetRoutingID() const OVERRIDE;
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 } // namespace content 696 } // namespace content
694 697
695 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 698 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698