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

Unified Diff: remoting/host/chromoting_messages.h

Issue 12678008: Reworked the plumbing required to pass the client resolution to the desktop resizer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. Created 7 years, 9 months 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 | « no previous file | remoting/host/client_session.cc » ('j') | remoting/host/client_session.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_messages.h
diff --git a/remoting/host/chromoting_messages.h b/remoting/host/chromoting_messages.h
index 4faed33b796a6dddb5536558434f7da9177585c6..9cfc3e54e7ccde5f45983be83d8293eaade958cc 100644
--- a/remoting/host/chromoting_messages.h
+++ b/remoting/host/chromoting_messages.h
@@ -8,7 +8,7 @@
#include "ipc/ipc_platform_file.h"
#include "media/video/capture/screen/mouse_cursor_shape.h"
#include "net/base/ip_endpoint.h"
-#include "remoting/host/desktop_session.h"
+#include "remoting/host/screen_resolution.h"
#include "remoting/protocol/transport.h"
#include "third_party/skia/include/core/SkPoint.h"
#include "third_party/skia/include/core/SkRect.h"
@@ -64,16 +64,16 @@ IPC_MESSAGE_CONTROL3(ChromotingDaemonNetworkMsg_DesktopAttached,
// console session.
IPC_MESSAGE_CONTROL0(ChromotingNetworkDaemonMsg_SendSasToConsole)
-IPC_STRUCT_TRAITS_BEGIN(remoting::DesktopSessionParams)
- IPC_STRUCT_TRAITS_MEMBER(client_dpi_)
- IPC_STRUCT_TRAITS_MEMBER(client_size_)
+IPC_STRUCT_TRAITS_BEGIN(remoting::ScreenResolution)
+ IPC_STRUCT_TRAITS_MEMBER(dimensions_)
+ IPC_STRUCT_TRAITS_MEMBER(dpi_)
IPC_STRUCT_TRAITS_END()
// Connects the terminal |terminal_id| (i.e. a remote client) to a desktop
// session.
IPC_MESSAGE_CONTROL3(ChromotingNetworkHostMsg_ConnectTerminal,
int /* terminal_id */,
- remoting::DesktopSessionParams /* params */,
+ remoting::ScreenResolution /* resolution */,
bool /* virtual_terminal */)
// Disconnects the terminal |terminal_id| from the desktop session it was
@@ -179,7 +179,7 @@ IPC_STRUCT_BEGIN(SerializedCapturedData)
// Captured region.
IPC_STRUCT_MEMBER(std::vector<SkIRect>, dirty_region)
- // Dimentions of the buffer in pixels.
+ // Dimensions of the buffer in pixels.
IPC_STRUCT_MEMBER(SkISize, dimensions)
// Time spent in capture. Unit is in milliseconds.
« no previous file with comments | « no previous file | remoting/host/client_session.cc » ('j') | remoting/host/client_session.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698