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

Unified Diff: remoting/host/win/rdp_client.cc

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.h ('k') | remoting/host/win/rdp_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/rdp_client.cc
diff --git a/remoting/host/win/rdp_client.cc b/remoting/host/win/rdp_client.cc
index 7b3d2c5254d0dea0fe72a469e5668459a772313e..30a1abcb2487d28d71ba4403dc33e1fbc69a5fc4 100644
--- a/remoting/host/win/rdp_client.cc
+++ b/remoting/host/win/rdp_client.cc
@@ -14,6 +14,7 @@
#include "net/base/ip_endpoint.h"
#include "remoting/base/typed_buffer.h"
#include "remoting/host/win/rdp_client_window.h"
+#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
namespace remoting {
@@ -45,7 +46,8 @@ class RdpClient::Core
RdpClient::EventHandler* event_handler);
// Initiates a loopback RDP connection.
- void Connect(const SkISize& screen_size, const std::string& terminal_id);
+ void Connect(const webrtc::DesktopSize& screen_size,
+ const std::string& terminal_id);
// Initiates a graceful shutdown of the RDP connection.
void Disconnect();
@@ -88,7 +90,7 @@ class RdpClient::Core
RdpClient::RdpClient(
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
- const SkISize& screen_size,
+ const webrtc::DesktopSize& screen_size,
const std::string& terminal_id,
EventHandler* event_handler) {
DCHECK(caller_task_runner->BelongsToCurrentThread());
@@ -118,7 +120,7 @@ RdpClient::Core::Core(
event_handler_(event_handler) {
}
-void RdpClient::Core::Connect(const SkISize& screen_size,
+void RdpClient::Core::Connect(const webrtc::DesktopSize& screen_size,
const std::string& terminal_id) {
if (!ui_task_runner_->BelongsToCurrentThread()) {
ui_task_runner_->PostTask(
« no previous file with comments | « remoting/host/win/rdp_client.h ('k') | remoting/host/win/rdp_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698