Chromium Code Reviews| Index: remoting/host/continue_window_chromeos.cc |
| diff --git a/remoting/host/continue_window_chromeos.cc b/remoting/host/continue_window_chromeos.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1a753d3eb31fe57d0430c08a60eafa9f99069151 |
| --- /dev/null |
| +++ b/remoting/host/continue_window_chromeos.cc |
| @@ -0,0 +1,49 @@ |
| +// Copyright 2014 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/continue_window.h" |
| + |
| +namespace remoting { |
| + |
| +namespace { |
| + |
| +// A place holder implementation for the ContinueWindow on |
| +// ChromeOS. Remote assistance on Chrome OS is currently under a flag so it is |
| +// secure to leave it unimplemented for now. |
| +class ContinueWindowAura : public ContinueWindow { |
| + public: |
| + ContinueWindowAura(); |
| + virtual ~ContinueWindowAura(); |
|
Wez
2014/10/24 00:28:48
override?
kelvinp
2014/10/24 21:39:42
Done.
|
| + |
| + protected: |
| + // ContinueWindow interface. |
| + virtual void ShowUi() override; |
| + virtual void HideUi() override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(ContinueWindowAura); |
| +}; |
| + |
| +ContinueWindowAura::ContinueWindowAura() { |
| +} |
| + |
| +ContinueWindowAura::~ContinueWindowAura() { |
| +} |
| + |
| +void ContinueWindowAura::ShowUi() { |
| + // TODO(kelvinp): Implement this on Chrome OS (See crbug.com/424908). |
|
Wez
2014/10/24 00:28:48
NOTIMPLEMENTED()?
kelvinp
2014/10/24 21:39:41
Done.
|
| +} |
| + |
| +void ContinueWindowAura::HideUi() { |
| + // TODO(kelvinp): Implement this on Chrome OS (See crbug.com/424908). |
|
Wez
2014/10/24 00:28:48
As above?
kelvinp
2014/10/24 21:39:41
Done.
|
| +} |
| + |
| +} // namespace |
| + |
| +// static |
| +scoped_ptr<HostWindow> HostWindow::CreateContinueWindow() { |
| + return make_scoped_ptr(new ContinueWindowAura()); |
| +} |
| + |
| +} // namespace remoting |