Index: trunk/src/remoting/client/frame_producer.h |
=================================================================== |
--- trunk/src/remoting/client/frame_producer.h (revision 224204) |
+++ trunk/src/remoting/client/frame_producer.h (working copy) |
@@ -6,12 +6,12 @@ |
#define REMOTING_CLIENT_FRAME_PRODUCER_H_ |
#include "base/callback_forward.h" |
+#include "third_party/skia/include/core/SkRect.h" |
+#include "third_party/skia/include/core/SkRegion.h" |
+#include "third_party/skia/include/core/SkSize.h" |
namespace webrtc { |
class DesktopFrame; |
-class DesktopRect; |
-class DesktopRegion; |
-class DesktopSize; |
} // namespace webrtc |
namespace remoting { |
@@ -31,7 +31,7 @@ |
// Requests repainting of the specified |region| of the frame as soon as |
// possible. |region| is specified in output coordinates relative to |
// the beginning of the frame. |
- virtual void InvalidateRegion(const webrtc::DesktopRegion& region) = 0; |
+ virtual void InvalidateRegion(const SkRegion& region) = 0; |
// Requests returing of all pending buffers to the consumer via |
// FrameConsumer::ReturnBuffer() calls. |
@@ -39,11 +39,11 @@ |
// Notifies the producer of changes to the output view size or clipping area. |
// Implementations must cope with empty |view_size| or |clip_area|. |
- virtual void SetOutputSizeAndClip(const webrtc::DesktopSize& view_size, |
- const webrtc::DesktopRect& clip_area) = 0; |
+ virtual void SetOutputSizeAndClip(const SkISize& view_size, |
+ const SkIRect& clip_area) = 0; |
// Returns a reference to the shape of the most recently drawn buffer. |
- virtual const webrtc::DesktopRegion* GetBufferShape() = 0; |
+ virtual const SkRegion* GetBufferShape() = 0; |
protected: |
virtual ~FrameProducer() {} |