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

Side by Side Diff: remoting/client/chromoting_view.cc

Issue 8985007: Refactoring of the client-side input pipeline and scaling dimension management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "remoting/client/chromoting_view.h"
6
7 #include "base/message_loop.h"
8 #include "base/synchronization/waitable_event.h"
9
10 namespace remoting {
11
12 ChromotingView::ChromotingView()
13 : frame_width_(0),
14 frame_height_(0) {
15 }
16
17 ChromotingView::~ChromotingView() {}
18
19 // TODO(garykac): This assumes a single screen. This will need to be adjusted
20 // to add support for mulitple monitors.
21 void ChromotingView::GetScreenSize(int* width, int* height) {
22 *width = frame_width_;
23 *height = frame_height_;
24 }
25
26 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698