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

Unified Diff: content/public/browser/render_widget_host.h

Issue 12746009: Revert 189969 "Add RenderWidgetHost::GetSnapshotFromRenderer met..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1450/src/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_widget_host.h
===================================================================
--- content/public/browser/render_widget_host.h (revision 190011)
+++ content/public/browser/render_widget_host.h (working copy)
@@ -284,16 +284,6 @@
// Get the screen info corresponding to this render widget.
virtual void GetWebScreenInfo(WebKit::WebScreenInfo* result) = 0;
- // Grabs snapshot from renderer side and returns the bitmap to a callback.
- // If |src_rect| is empty, the whole contents is copied. This is an expensive
- // operation due to the IPC, but it can be used as a fallback method when
- // CopyFromBackingStore fails due to the backing store not being available or,
- // in composited mode, when the accelerated surface is not available to the
- // browser side.
- virtual void GetSnapshotFromRenderer(
- const gfx::Rect& src_subrect,
- const base::Callback<void(bool, const SkBitmap&)>& callback) = 0;
-
protected:
friend class RenderWidgetHostImpl;
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698