summaryrefslogtreecommitdiffstats
path: root/remoting/host/desktop_resizer_win.cc
blob: 65ae55a0894425d42c9fcc75353263a7579c9c9b (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Copyright (c) 2012 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/host/desktop_resizer.h"

#include "base/logging.h"

namespace remoting {

namespace {
class DesktopResizerWin : public DesktopResizer {
 public:
  DesktopResizerWin() {
  }

  virtual SkISize GetCurrentSize() OVERRIDE {
    NOTIMPLEMENTED();
    return SkISize::Make(0, 0);
  }

  virtual std::list<SkISize> GetSupportedSizes(
      const SkISize& preferred) OVERRIDE {
    NOTIMPLEMENTED();
    return std::list<SkISize>();
  }

  virtual void SetSize(const SkISize& size) OVERRIDE {
    NOTIMPLEMENTED();
  }

  virtual void RestoreSize(const SkISize& original) OVERRIDE {
    NOTIMPLEMENTED();
  }

 private:
  DISALLOW_COPY_AND_ASSIGN(DesktopResizerWin);
};
}  // namespace

scoped_ptr<DesktopResizer> DesktopResizer::Create() {
  return scoped_ptr<DesktopResizer>(new DesktopResizerWin);
}

}  // namespace remoting