diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-25 22:16:21 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-25 22:16:21 +0000 |
commit | e59d6594e14b9a697098cc517f7218941e2787ff (patch) | |
tree | e04cc296501d095e24acfb5357c5af5bacebca82 /remoting/host | |
parent | 1f291cd57a56e70369dc2e47e3d4be6102254102 (diff) | |
download | chromium_src-e59d6594e14b9a697098cc517f7218941e2787ff.zip chromium_src-e59d6594e14b9a697098cc517f7218941e2787ff.tar.gz chromium_src-e59d6594e14b9a697098cc517f7218941e2787ff.tar.bz2 |
Remove dependency on Skia from chromoting client.
Now DesktopRegion, DesktopRect and DesktopSize are used instead of
corresponding skia types.
R=alexeypa@chromium.org
TBR=reed@google.com (for _moved_ skia dependency)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224101
Review URL: https://codereview.chromium.org/23440046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225265 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host')
-rw-r--r-- | remoting/host/DEPS | 4 | ||||
-rw-r--r-- | remoting/host/mouse_clamping_filter.cc | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/remoting/host/DEPS b/remoting/host/DEPS index ef945f3..70b8379 100644 --- a/remoting/host/DEPS +++ b/remoting/host/DEPS @@ -1,11 +1,13 @@ include_rules = [ "+net", "+remoting/codec", - "+remoting/protocol", "+remoting/jingle_glue", + "+remoting/protocol", + "+skia/ext", "+third_party/jsoncpp", "+third_party/modp_b64", "+third_party/npapi", + "+third_party/skia/include/core", "+third_party/webrtc", "+ui", ] diff --git a/remoting/host/mouse_clamping_filter.cc b/remoting/host/mouse_clamping_filter.cc index db01c10..91462fa 100644 --- a/remoting/host/mouse_clamping_filter.cc +++ b/remoting/host/mouse_clamping_filter.cc @@ -24,8 +24,9 @@ void MouseClampingFilter::ProcessVideoPacket( // Configure the MouseInputFilter to clamp to the video dimensions. if (video_packet->format().has_screen_width() && video_packet->format().has_screen_height()) { - SkISize screen_size = SkISize::Make(video_packet->format().screen_width(), - video_packet->format().screen_height()); + webrtc::DesktopSize screen_size = + webrtc::DesktopSize(video_packet->format().screen_width(), + video_packet->format().screen_height()); input_filter_.set_input_size(screen_size); input_filter_.set_output_size(screen_size); } |