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

Side by Side Diff: remoting/host/ipc_session_controller.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: 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/ipc_session_controller.h" 5 #include "remoting/host/ipc_session_controller.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "remoting/host/desktop_session_proxy.h" 8 #include "remoting/host/desktop_session_proxy.h"
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 IpcSessionController::IpcSessionController( 12 IpcSessionController::IpcSessionController(
13 scoped_refptr<DesktopSessionProxy> desktop_session_proxy) 13 scoped_refptr<DesktopSessionProxy> desktop_session_proxy)
14 : desktop_session_proxy_(desktop_session_proxy) { 14 : desktop_session_proxy_(desktop_session_proxy) {
15 } 15 }
16 16
17 IpcSessionController::~IpcSessionController() { 17 IpcSessionController::~IpcSessionController() {
18 } 18 }
19 19
20 void IpcSessionController::OnClientResolutionChanged( 20 void IpcSessionController::SetScreenResolution(
21 const SkIPoint& client_dpi, 21 const ScreenResolution& resolution) {
22 const SkISize& client_size) { 22 desktop_session_proxy_->SetScreenResolution(resolution);
23 NOTIMPLEMENTED();
24 } 23 }
25 24
26 } // namespace remoting 25 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698