| Index: remoting/host/desktop_resizer_android.cc
|
| diff --git a/remoting/host/desktop_resizer_android.cc b/remoting/host/desktop_resizer_android.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..68e4b7e6b7ce6e7d0135b3ee38fe0602991b2cf2
|
| --- /dev/null
|
| +++ b/remoting/host/desktop_resizer_android.cc
|
| @@ -0,0 +1,49 @@
|
| +// Copyright 2016 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 "base/logging.h"
|
| +#include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| +#include "remoting/host/desktop_resizer.h"
|
| +
|
| +namespace remoting {
|
| +
|
| +namespace {
|
| +
|
| +class DesktopResizerAndroid : public DesktopResizer {
|
| + public:
|
| + DesktopResizerAndroid() {}
|
| +
|
| + // DesktopResizer:
|
| + ScreenResolution GetCurrentResolution() override {
|
| + NOTIMPLEMENTED();
|
| + return ScreenResolution();
|
| + }
|
| +
|
| + std::list<ScreenResolution> GetSupportedResolutions(
|
| + const ScreenResolution& preferred) override {
|
| + NOTIMPLEMENTED();
|
| + return std::list<ScreenResolution>();
|
| + }
|
| +
|
| + void SetResolution(const ScreenResolution& resolution) override {
|
| + NOTIMPLEMENTED();
|
| + }
|
| +
|
| + void RestoreResolution(const ScreenResolution& original) override {
|
| + NOTIMPLEMENTED();
|
| + }
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(DesktopResizerAndroid);
|
| +};
|
| +
|
| +} // namespace
|
| +
|
| +// static
|
| +std::unique_ptr<DesktopResizer> DesktopResizer::Create() {
|
| + return base::WrapUnique(new DesktopResizerAndroid);
|
| +}
|
| +
|
| +} // namespace remoting
|
|
|