OLD | NEW |
| (Empty) |
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 | |
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. | |
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() { | |
35 // TODO(kelvinp): Implement this on Chrome OS (See crbug.com/424908). | |
36 NOTIMPLEMENTED(); | |
37 } | |
38 | |
39 void ContinueWindowAura::HideUi() { | |
40 // TODO(kelvinp): Implement this on Chrome OS (See crbug.com/424908). | |
41 NOTIMPLEMENTED(); | |
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 | |
OLD | NEW |