diff options
Diffstat (limited to 'remoting/client/plugin/chromoting_instance.h')
-rw-r--r-- | remoting/client/plugin/chromoting_instance.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/client/plugin/chromoting_instance.h b/remoting/client/plugin/chromoting_instance.h index 40f470f..b98d922 100644 --- a/remoting/client/plugin/chromoting_instance.h +++ b/remoting/client/plugin/chromoting_instance.h @@ -18,6 +18,7 @@ #include "ppapi/c/pp_resource.h" #include "ppapi/cpp/var.h" #include "third_party/skia/include/core/SkPoint.h" +#include "third_party/skia/include/core/SkRegion.h" #include "third_party/skia/include/core/SkSize.h" // Windows defines 'PostMessage', so we have to undef it before we @@ -135,6 +136,7 @@ class ChromotingInstance : // Called by PepperView. void SetDesktopSize(const SkISize& size, const SkIPoint& dpi); + void SetDesktopShape(const SkRegion& shape); void OnFirstFrameReceived(); // Return statistics record by ChromotingClient. @@ -233,6 +235,9 @@ class ChromotingInstance : scoped_ptr<PepperView> view_; pp::View plugin_view_; + // Contains the most-recently-reported desktop shape, if any. + scoped_ptr<SkRegion> desktop_shape_; + scoped_ptr<PepperSignalStrategy> signal_strategy_; scoped_ptr<protocol::ConnectionToHost> host_connection_; |