summaryrefslogtreecommitdiffstats
path: root/remoting/client/plugin/chromoting_instance.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-19 21:24:28 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-19 21:24:28 +0000
commitb4e50594c117da39d9d65beed489acc3ce4cd35e (patch)
treeeb321c268adbabfc85ad3dae6931be64c2f92150 /remoting/client/plugin/chromoting_instance.h
parentc45d12c0186dbf6a1ffdbb7cb45a15c2366d9dcf (diff)
downloadchromium_src-b4e50594c117da39d9d65beed489acc3ce4cd35e.zip
chromium_src-b4e50594c117da39d9d65beed489acc3ce4cd35e.tar.gz
chromium_src-b4e50594c117da39d9d65beed489acc3ce4cd35e.tar.bz2
Revert 224101 "Remove dependency on Skia from chromoting client."
> Remove dependency on Skia from chromoting client. > > Now DesktopRegion, DesktopRect and DesktopSize are used instead of > corresponding skia types. > > TBR=reed@google.com (for _moved_ skia dependency) > > Review URL: https://chromiumcodereview.appspot.com/23440046 TBR=sergeyu@chromium.org Review URL: https://codereview.chromium.org/24217003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224205 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/plugin/chromoting_instance.h')
-rw-r--r--remoting/client/plugin/chromoting_instance.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/remoting/client/plugin/chromoting_instance.h b/remoting/client/plugin/chromoting_instance.h
index 7b120a8..227bcac 100644
--- a/remoting/client/plugin/chromoting_instance.h
+++ b/remoting/client/plugin/chromoting_instance.h
@@ -33,6 +33,9 @@
#include "remoting/protocol/mouse_input_filter.h"
#include "remoting/protocol/negotiating_client_authenticator.h"
#include "remoting/protocol/third_party_client_authenticator.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"
namespace base {
class DictionaryValue;
@@ -43,12 +46,6 @@ class InputEvent;
class Module;
} // namespace pp
-namespace webrtc {
-class DesktopRegion;
-class DesktopSize;
-class DesktopVector;
-} // namespace webrtc
-
namespace remoting {
class ChromotingClient;
@@ -135,9 +132,8 @@ class ChromotingInstance :
const protocol::CursorShapeInfo& cursor_shape) OVERRIDE;
// Called by PepperView.
- void SetDesktopSize(const webrtc::DesktopSize& size,
- const webrtc::DesktopVector& dpi);
- void SetDesktopShape(const webrtc::DesktopRegion& shape);
+ void SetDesktopSize(const SkISize& size, const SkIPoint& dpi);
+ void SetDesktopShape(const SkRegion& shape);
void OnFirstFrameReceived();
// Return statistics record by ChromotingClient.
@@ -243,7 +239,7 @@ class ChromotingInstance :
pp::View plugin_view_;
// Contains the most-recently-reported desktop shape, if any.
- scoped_ptr<webrtc::DesktopRegion> desktop_shape_;
+ scoped_ptr<SkRegion> desktop_shape_;
scoped_ptr<DelegatingSignalStrategy> signal_strategy_;