Index: remoting/client/plugin/chromoting_instance.h |
diff --git a/remoting/client/plugin/chromoting_instance.h b/remoting/client/plugin/chromoting_instance.h |
index 40f470f5cb341637b3f906970bcf1e1656df63c0..b98d922fb6e8411e77d9e6a6a146d093ff9a725b 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_; |