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

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

Issue 10815070: Support copying a partial rectangle region from the compositing surface on Aura and GTK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 years, 5 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual void CopyToFindPboard() OVERRIDE; 76 virtual void CopyToFindPboard() OVERRIDE;
77 virtual void Paste() OVERRIDE; 77 virtual void Paste() OVERRIDE;
78 virtual void PasteAndMatchStyle() OVERRIDE; 78 virtual void PasteAndMatchStyle() OVERRIDE;
79 virtual void Delete() OVERRIDE; 79 virtual void Delete() OVERRIDE;
80 virtual void SelectAll() OVERRIDE; 80 virtual void SelectAll() OVERRIDE;
81 virtual void UpdateTextDirection(WebKit::WebTextDirection direction) OVERRIDE; 81 virtual void UpdateTextDirection(WebKit::WebTextDirection direction) OVERRIDE;
82 virtual void NotifyTextDirection() OVERRIDE; 82 virtual void NotifyTextDirection() OVERRIDE;
83 virtual void Blur() OVERRIDE; 83 virtual void Blur() OVERRIDE;
84 virtual void CopyFromBackingStore( 84 virtual void CopyFromBackingStore(
85 const gfx::Rect& src_rect, 85 const gfx::Rect& src_rect,
86 const gfx::Size& accelerated_dest_size, 86 const gfx::Size& accelerated_dst_size,
87 const base::Callback<void(bool)>& callback, 87 const base::Callback<void(bool)>& callback,
88 skia::PlatformCanvas* output) OVERRIDE; 88 skia::PlatformCanvas* output) OVERRIDE;
89 #if defined(TOOLKIT_GTK) 89 #if defined(TOOLKIT_GTK)
90 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, 90 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect,
91 GdkWindow* target) OVERRIDE; 91 GdkWindow* target) OVERRIDE;
92 #elif defined(OS_MACOSX) 92 #elif defined(OS_MACOSX)
93 virtual gfx::Size GetBackingStoreSize() OVERRIDE; 93 virtual gfx::Size GetBackingStoreSize() OVERRIDE;
94 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, 94 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect,
95 CGContextRef target) OVERRIDE; 95 CGContextRef target) OVERRIDE;
96 #endif 96 #endif
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 scoped_ptr<TapSuppressionController> tap_suppression_controller_; 767 scoped_ptr<TapSuppressionController> tap_suppression_controller_;
768 768
769 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; 769 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_;
770 770
771 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 771 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
772 }; 772 };
773 773
774 } // namespace content 774 } // namespace content
775 775
776 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 776 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698