OLD | NEW |
| (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 | |
OLD | NEW |