Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / remoting / host / desktop_resizer_ozone.cc
blob20106f00434e109631997532211f14535d571145
1 // Copyright 2015 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.
5 #include "remoting/host/desktop_resizer.h"
7 #include "base/logging.h"
9 namespace remoting {
11 class DesktopResizerOzone : public DesktopResizer {
12 public:
13 DesktopResizerOzone();
14 ~DesktopResizerOzone() override;
16 // DesktopResizer:
17 ScreenResolution GetCurrentResolution() override;
18 std::list<ScreenResolution> GetSupportedResolutions(
19 const ScreenResolution& preferred) override;
20 void SetResolution(const ScreenResolution& resolution) override;
21 void RestoreResolution(const ScreenResolution& original) override;
23 private:
24 DISALLOW_COPY_AND_ASSIGN(DesktopResizerOzone);
27 DesktopResizerOzone::DesktopResizerOzone() {
30 DesktopResizerOzone::~DesktopResizerOzone() {
33 ScreenResolution DesktopResizerOzone::GetCurrentResolution() {
34 NOTIMPLEMENTED();
35 return ScreenResolution();
38 std::list<ScreenResolution> DesktopResizerOzone::GetSupportedResolutions(
39 const ScreenResolution& preferred) {
40 NOTIMPLEMENTED();
41 return std::list<ScreenResolution>();
44 void DesktopResizerOzone::SetResolution(const ScreenResolution& resolution) {
45 NOTIMPLEMENTED();
48 void DesktopResizerOzone::RestoreResolution(const ScreenResolution& original) {
51 scoped_ptr<DesktopResizer> DesktopResizer::Create() {
52 return make_scoped_ptr(new DesktopResizerOzone);
55 } // namespace remoting