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

Unified Diff: content/browser/renderer_host/backing_store.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/browser/renderer_host/backing_store.h
===================================================================
--- content/browser/renderer_host/backing_store.h (revision 161107)
+++ content/browser/renderer_host/backing_store.h (working copy)
@@ -20,7 +20,7 @@
}
namespace skia {
-class PlatformCanvas;
+class PlatformBitmap;
}
namespace content {
@@ -66,7 +66,7 @@
// will call initialize() with the correct size. The return value indicates
// success.
virtual bool CopyFromBackingStore(const gfx::Rect& rect,
- skia::PlatformCanvas* output) = 0;
+ skia::PlatformBitmap* output) = 0;
// Scrolls the contents of clip_rect in the backing store by dx or dy (but dx
// and dy cannot both be non-zero).
« no previous file with comments | « chrome/browser/thumbnails/thumbnail_tab_helper.cc ('k') | content/browser/renderer_host/backing_store_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698