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

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

Issue 11031055: Introduce PlatformBitmap, which is a minimal helper class that wraps an SkBitmap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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
Index: content/public/browser/render_widget_host.h
===================================================================
--- content/public/browser/render_widget_host.h (revision 160846)
+++ content/public/browser/render_widget_host.h (working copy)
@@ -27,7 +27,7 @@
}
namespace skia {
-class PlatformCanvas;
+class PlatformBitmap;
}
namespace content {
@@ -178,7 +178,7 @@
virtual void CopyFromBackingStore(const gfx::Rect& src_rect,
const gfx::Size& accelerated_dest_size,
const base::Callback<void(bool)>& callback,
- skia::PlatformCanvas* output) = 0;
+ skia::PlatformBitmap* output) = 0;
#if defined(TOOLKIT_GTK)
// Paint the backing store into the target's |dest_rect|.
virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect,

Powered by Google App Engine
This is Rietveld 408576698