OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/client/chromoting_view.h" | 5 #include "remoting/client/chromoting_view.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/waitable_event.h" | 8 #include "base/synchronization/waitable_event.h" |
9 #include "remoting/base/tracer.h" | 9 #include "remoting/base/tracer.h" |
10 | 10 |
11 namespace remoting { | 11 namespace remoting { |
12 | 12 |
13 ChromotingView::ChromotingView() | 13 ChromotingView::ChromotingView() |
14 : frame_width_(0), | 14 : frame_width_(0), |
15 frame_height_(0) { | 15 frame_height_(0) { |
16 } | 16 } |
17 | 17 |
18 ChromotingView::~ChromotingView() {} | 18 ChromotingView::~ChromotingView() {} |
19 | 19 |
20 // TODO(garykac): This assumes a single screen. This will need to be adjusted | 20 // TODO(garykac): This assumes a single screen. This will need to be adjusted |
21 // to add support for mulitple monitors. | 21 // to add support for mulitple monitors. |
22 void ChromotingView::GetScreenSize(int* width, int* height) { | 22 void ChromotingView::GetScreenSize(int* width, int* height) { |
23 *width = frame_width_; | 23 *width = frame_width_; |
24 *height = frame_height_; | 24 *height = frame_height_; |
25 } | 25 } |
26 | 26 |
27 } // namespace remoting | 27 } // namespace remoting |
OLD | NEW |