| Index: remoting/client/plugin/pepper_view.h
|
| diff --git a/remoting/client/plugin/pepper_view.h b/remoting/client/plugin/pepper_view.h
|
| index 949703acdb3f26dddaac5e24b7a485e83401bc2d..9cfa8b881c9770008aa7130ebf345fb79f9fa691 100644
|
| --- a/remoting/client/plugin/pepper_view.h
|
| +++ b/remoting/client/plugin/pepper_view.h
|
| @@ -48,7 +48,8 @@ class PepperView : public ChromotingView,
|
| pp::ImageData* buffer,
|
| const SkRegion& region) OVERRIDE;
|
| virtual void ReturnBuffer(pp::ImageData* buffer) OVERRIDE;
|
| - virtual void SetSourceSize(const SkISize& source_size) OVERRIDE;
|
| + virtual void SetSourceSize(const SkISize& source_size,
|
| + const SkIPoint& dpi) OVERRIDE;
|
|
|
| // Sets the display size and clipping area of this view.
|
| void SetView(const SkISize& view_size, const SkIRect& clip_area);
|
| @@ -110,6 +111,9 @@ class PepperView : public ChromotingView,
|
| // The size of the host screen.
|
| SkISize source_size_;
|
|
|
| + // The DPI of the host screen.
|
| + SkIPoint source_dpi_;
|
| +
|
| // True if there is already a Flush() pending on the Graphics2D context.
|
| bool flush_pending_;
|
|
|
|
|