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

Unified Diff: content/port/browser/render_widget_host_view_port.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/port/browser/render_widget_host_view_port.h
===================================================================
--- content/port/browser/render_widget_host_view_port.h (revision 160846)
+++ content/port/browser/render_widget_host_view_port.h (working copy)
@@ -35,6 +35,10 @@
}
#endif
+namespace skia {
+class PlatformBitmap;
+};
+
namespace content {
class BackingStore;
class SmoothScrollGesture;
@@ -161,7 +165,7 @@
const gfx::Rect& src_subrect,
const gfx::Size& dst_size,
const base::Callback<void(bool)>& callback,
- skia::PlatformCanvas* output) = 0;
+ skia::PlatformBitmap* output) = 0;
// Called when accelerated compositing state changes.
virtual void OnAcceleratedCompositingStateChange() = 0;

Powered by Google App Engine
This is Rietveld 408576698