kelvinp | 561074cf | 2014-10-30 21:46:16 | [diff] [blame] | 1 | // 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 | |
| 7 | namespace remoting { |
| 8 | |
| 9 | namespace { |
| 10 | |
kelvinp | 71ffa21 | 2014-11-04 20:57:14 | [diff] [blame] | 11 | // 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. |
kelvinp | 561074cf | 2014-10-30 21:46:16 | [diff] [blame] | 14 | class 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 | |
| 28 | ContinueWindowAura::ContinueWindowAura() { |
| 29 | } |
| 30 | |
| 31 | ContinueWindowAura::~ContinueWindowAura() { |
| 32 | } |
| 33 | |
| 34 | void ContinueWindowAura::ShowUi() { |
kelvinp | 71ffa21 | 2014-11-04 20:57:14 | [diff] [blame] | 35 | // TODO(kelvinp): Implement this on Chrome OS (See crbug.com/424908). |
| 36 | NOTIMPLEMENTED(); |
kelvinp | 561074cf | 2014-10-30 21:46:16 | [diff] [blame] | 37 | } |
| 38 | |
| 39 | void ContinueWindowAura::HideUi() { |
kelvinp | 71ffa21 | 2014-11-04 20:57:14 | [diff] [blame] | 40 | // TODO(kelvinp): Implement this on Chrome OS (See crbug.com/424908). |
| 41 | NOTIMPLEMENTED(); |
kelvinp | 561074cf | 2014-10-30 21:46:16 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | } // namespace |
| 45 | |
| 46 | // static |
| 47 | scoped_ptr<HostWindow> HostWindow::CreateContinueWindow() { |
| 48 | return make_scoped_ptr(new ContinueWindowAura()); |
| 49 | } |
| 50 | |
| 51 | } // namespace remoting |