summaryrefslogtreecommitdiffstats
path: root/remoting/client/chromoting_view.cc
blob: 5df85b671171beb4cf39bb52e24dcb1958ac9aef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/client/chromoting_view.h"

#include "base/message_loop.h"
#include "base/waitable_event.h"
#include "remoting/base/tracer.h"

namespace remoting {

ChromotingView::ChromotingView()
    : frame_width_(0),
      frame_height_(0) {
}

ChromotingView::~ChromotingView() {}

// TODO(garykac): This assumes a single screen. This will need to be adjusted
// to add support for mulitple monitors.
void ChromotingView::GetScreenSize(int* width, int* height) {
  *width = frame_width_;
  *height = frame_height_;
}

}  // namespace remoting