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

Unified Diff: remoting/client/rectangle_update_decoder.h

Issue 18233015: Abstract PPAPI's ImageData behind webrtc::DesktopFrame interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implement Wez's final corrections Created 7 years, 6 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/plugin/pepper_view.cc ('k') | remoting/client/rectangle_update_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/rectangle_update_decoder.h
diff --git a/remoting/client/rectangle_update_decoder.h b/remoting/client/rectangle_update_decoder.h
index fe71909f5944de391cef34d33fc015ab2bfb2c86..457c72455a101705ca6576d7fb5762da23e12433 100644
--- a/remoting/client/rectangle_update_decoder.h
+++ b/remoting/client/rectangle_update_decoder.h
@@ -20,10 +20,6 @@ namespace base {
class SingleThreadTaskRunner;
} // namespace base
-namespace pp {
-class ImageData;
-} // namespace pp
-
namespace remoting {
class ChromotingStats;
@@ -55,7 +51,7 @@ class RectangleUpdateDecoder
// FrameProducer implementation. These methods may be called before we are
// Initialize()d, or we know the source screen size.
- virtual void DrawBuffer(pp::ImageData* buffer) OVERRIDE;
+ virtual void DrawBuffer(webrtc::DesktopFrame* buffer) OVERRIDE;
virtual void InvalidateRegion(const SkRegion& region) OVERRIDE;
virtual void RequestReturnBuffers(const base::Closure& done) OVERRIDE;
virtual void SetOutputSizeAndClip(const SkISize& view_size,
@@ -106,7 +102,7 @@ class RectangleUpdateDecoder
SkIRect clip_area_;
// The drawing buffers supplied by the frame consumer.
- std::list<pp::ImageData*> buffers_;
+ std::list<webrtc::DesktopFrame*> buffers_;
// Flag used to coalesce runs of SchedulePaint()s into a single DoPaint().
bool paint_scheduled_;
« no previous file with comments | « remoting/client/plugin/pepper_view.cc ('k') | remoting/client/rectangle_update_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698