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

Unified Diff: remoting/client/frame_producer.h

Issue 18233015: Abstract PPAPI's ImageData behind webrtc::DesktopFrame interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch to using existing webrtc::DesktopFrame class 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
Index: remoting/client/frame_producer.h
diff --git a/remoting/client/frame_producer.h b/remoting/client/frame_producer.h
index 3506e8ff297fd8ff45633e433c73940de3c1fa5c..14bf283faa7523b424030a93abffa3822b72112c 100644
--- a/remoting/client/frame_producer.h
+++ b/remoting/client/frame_producer.h
@@ -10,9 +10,9 @@
#include "third_party/skia/include/core/SkRegion.h"
#include "third_party/skia/include/core/SkSize.h"
-namespace pp {
-class ImageData;
-} // namespace pp
+namespace webrtc {
+class DesktopFrame;
+} // namespace webrtc
namespace remoting {
@@ -26,7 +26,7 @@ class FrameProducer {
// be returned via the FrameConsumer::ReturnBuffer() call.
//
// The passed buffer must be large enough to hold the whole clipping area.
- virtual void DrawBuffer(pp::ImageData* buffer) = 0;
+ virtual void DrawBuffer(webrtc::DesktopFrame* buffer) = 0;
// Requests repainting of the specified |region| of the frame as soon as
// possible. |region| is specified in output coordinates relative to

Powered by Google App Engine
This is Rietveld 408576698