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

Unified Diff: remoting/client/plugin/pepper_view.h

Issue 9277001: Replace RectVectors with SkRegions in Decoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pick nits. Created 8 years, 11 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 | « remoting/client/frame_consumer_proxy.cc ('k') | remoting/client/plugin/pepper_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_view.h
diff --git a/remoting/client/plugin/pepper_view.h b/remoting/client/plugin/pepper_view.h
index eab7f598813291395fc00d7e4379945c38a026bd..1ca6365be77d3d3b453549802007a9ae57ed6826 100644
--- a/remoting/client/plugin/pepper_view.h
+++ b/remoting/client/plugin/pepper_view.h
@@ -48,7 +48,7 @@ class PepperView : public ChromotingView,
const base::Closure& done) OVERRIDE;
virtual void ReleaseFrame(media::VideoFrame* frame) OVERRIDE;
virtual void OnPartialFrameOutput(media::VideoFrame* frame,
- RectVector* rects,
+ SkRegion* region,
const base::Closure& done) OVERRIDE;
// Sets the display size of this view. Returns true if plugin size has
@@ -69,7 +69,7 @@ class PepperView : public ChromotingView,
// Set the dimension of the entire host screen.
void SetHostSize(const SkISize& host_size);
- void PaintFrame(media::VideoFrame* frame, RectVector* rects);
+ void PaintFrame(media::VideoFrame* frame, const SkRegion& region);
// Render the rectangle of |frame| to the backing store.
// Returns true if this rectangle is not clipped.
« no previous file with comments | « remoting/client/frame_consumer_proxy.cc ('k') | remoting/client/plugin/pepper_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698