blob: 0fe427b792c9981ffc533407eb75e21813d71391 [file] [log] [blame]
kelvinp561074cf2014-10-30 21:46:161// Copyright 2014 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.
4
5#include "remoting/host/continue_window.h"
6
7namespace remoting {
8
9namespace {
10
kelvinp71ffa212014-11-04 20:57:1411// A place holder implementation for the ContinueWindow on
12// ChromeOS. Remote assistance on Chrome OS is currently under a flag so it is
13// secure to leave it unimplemented for now.
kelvinp561074cf2014-10-30 21:46:1614class ContinueWindowAura : public ContinueWindow {
15 public:
16 ContinueWindowAura();
17 ~ContinueWindowAura() override;
18
19 protected:
20 // ContinueWindow interface.
21 void ShowUi() override;
22 void HideUi() override;
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(ContinueWindowAura);
26};
27
28ContinueWindowAura::ContinueWindowAura() {
29}
30
31ContinueWindowAura::~ContinueWindowAura() {
32}
33
34void ContinueWindowAura::ShowUi() {
kelvinp71ffa212014-11-04 20:57:1435 // TODO(kelvinp): Implement this on Chrome OS (See crbug.com/424908).
36 NOTIMPLEMENTED();
kelvinp561074cf2014-10-30 21:46:1637}
38
39void ContinueWindowAura::HideUi() {
kelvinp71ffa212014-11-04 20:57:1440 // TODO(kelvinp): Implement this on Chrome OS (See crbug.com/424908).
41 NOTIMPLEMENTED();
kelvinp561074cf2014-10-30 21:46:1642}
43
44} // namespace
45
46// static
47scoped_ptr<HostWindow> HostWindow::CreateContinueWindow() {
48 return make_scoped_ptr(new ContinueWindowAura());
49}
50
51} // namespace remoting