Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: remoting/host/win/rdp_client_window.h

Issue 112453002: Remove dependency on skia from remoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/win/rdp_client_unittest.cc ('k') | remoting/host/win/rdp_client_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/rdp_client_window.h
diff --git a/remoting/host/win/rdp_client_window.h b/remoting/host/win/rdp_client_window.h
index 64538d90242d17b59504f67dbb8fbcabd7006367..dc1db770b358e4288444c41d4ddcceb92d24088b 100644
--- a/remoting/host/win/rdp_client_window.h
+++ b/remoting/host/win/rdp_client_window.h
@@ -15,7 +15,7 @@
#include "base/message_loop/message_loop.h"
#include "base/win/scoped_comptr.h"
#include "net/base/ip_endpoint.h"
-#include "third_party/skia/include/core/SkSize.h"
+#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
#import "PROGID:MsTscAx.MsTscAx" \
exclude("wireHWND", "_RemotableHandle", "__MIDL_IWinTypes_0009"), \
@@ -72,7 +72,7 @@ class RdpClientWindow
// Creates the window along with the ActiveX control and initiates the
// connection. |screen_size| specifies resolution of the screen. Returns false
// if an error occurs.
- bool Connect(const SkISize& screen_size);
+ bool Connect(const webrtc::DesktopSize& screen_size);
// Initiates shutdown of the connection. The caller must not delete |this|
// until it receives OnDisconnected() notification.
@@ -133,7 +133,7 @@ class RdpClientWindow
EventHandler* event_handler_;
// Contains the requested dimensions of the screen.
- SkISize screen_size_;
+ webrtc::DesktopSize screen_size_;
// The endpoint to connect to.
net::IPEndPoint server_endpoint_;
« no previous file with comments | « remoting/host/win/rdp_client_unittest.cc ('k') | remoting/host/win/rdp_client_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698