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

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: Rebase 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual void Cut() OVERRIDE; 70 virtual void Cut() OVERRIDE;
71 virtual void Copy() OVERRIDE; 71 virtual void Copy() OVERRIDE;
72 virtual void CopyToFindPboard() OVERRIDE; 72 virtual void CopyToFindPboard() OVERRIDE;
73 virtual void Paste() OVERRIDE; 73 virtual void Paste() OVERRIDE;
74 virtual void PasteAndMatchStyle() OVERRIDE; 74 virtual void PasteAndMatchStyle() OVERRIDE;
75 virtual void Delete() OVERRIDE; 75 virtual void Delete() OVERRIDE;
76 virtual void SelectAll() OVERRIDE; 76 virtual void SelectAll() OVERRIDE;
77 virtual void UpdateTextDirection(WebKit::WebTextDirection direction) OVERRIDE; 77 virtual void UpdateTextDirection(WebKit::WebTextDirection direction) OVERRIDE;
78 virtual void NotifyTextDirection() OVERRIDE; 78 virtual void NotifyTextDirection() OVERRIDE;
79 virtual void Blur() OVERRIDE; 79 virtual void Blur() OVERRIDE;
80 virtual bool CopyFromBackingStore(skia::PlatformCanvas* output) OVERRIDE; 80 virtual bool CopyFromBackingStore(const gfx::Size& dest_size,
81 skia::PlatformCanvas* output) OVERRIDE;
81 #if defined(TOOLKIT_GTK) 82 #if defined(TOOLKIT_GTK)
82 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, 83 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect,
83 GdkWindow* target) OVERRIDE; 84 GdkWindow* target) OVERRIDE;
84 #elif defined(OS_MACOSX) 85 #elif defined(OS_MACOSX)
85 virtual gfx::Size GetBackingStoreSize() OVERRIDE; 86 virtual gfx::Size GetBackingStoreSize() OVERRIDE;
86 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, 87 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect,
87 CGContextRef target) OVERRIDE; 88 CGContextRef target) OVERRIDE;
88 #endif 89 #endif
89 virtual void EnableRendererAccessibility() OVERRIDE; 90 virtual void EnableRendererAccessibility() OVERRIDE;
90 virtual void ForwardMouseEvent( 91 virtual void ForwardMouseEvent(
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 bool has_touch_handler_; 690 bool has_touch_handler_;
690 691
691 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 692 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
692 693
693 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 694 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
694 }; 695 };
695 696
696 } // namespace content 697 } // namespace content
697 698
698 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 699 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/thumbnail_generator.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698