summaryrefslogtreecommitdiffstats
path: root/remoting/client/frame_producer.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/client/frame_producer.h')
-rw-r--r--remoting/client/frame_producer.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/remoting/client/frame_producer.h b/remoting/client/frame_producer.h
index aa7e63d..14bf283 100644
--- a/remoting/client/frame_producer.h
+++ b/remoting/client/frame_producer.h
@@ -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 @@ class FrameProducer {
// 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 @@ class FrameProducer {
// 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() {}