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

Side by Side Diff: remoting/host/desktop_session.cc

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/desktop_session.h ('k') | remoting/host/desktop_session_connector.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/desktop_session.h" 5 #include "remoting/host/desktop_session.h"
6 6
7 #include "remoting/base/auto_thread_task_runner.h" 7 #include "remoting/base/auto_thread_task_runner.h"
8 #include "remoting/host/daemon_process.h" 8 #include "remoting/host/daemon_process.h"
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 DesktopSessionParams::DesktopSessionParams()
13 : client_dpi_(SkIPoint::Make(0, 0)),
14 client_size_(SkISize::Make(0, 0)) {
15 }
16
17 DesktopSession::~DesktopSession() { 12 DesktopSession::~DesktopSession() {
18 } 13 }
19 14
20 DesktopSession::DesktopSession(DaemonProcess* daemon_process, int id) 15 DesktopSession::DesktopSession(DaemonProcess* daemon_process, int id)
21 : daemon_process_(daemon_process), 16 : daemon_process_(daemon_process),
22 id_(id) { 17 id_(id) {
23 } 18 }
24 19
25 } // namespace remoting 20 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/desktop_session.h ('k') | remoting/host/desktop_session_connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698