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 // A place holder implementation for the ContinueWindow on | |
10 // ChromeOS. Remote assistance on Chrome OS is currently under a flag so it is | |
11 // secure to leave it unimplemented for now. | |
12 class ContinueWindowAura : public ContinueWindow { | |
Wez
2014/10/17 17:58:00
This should be inside an anonymous namespace.
kelvinp
2014/10/20 00:21:17
Done.
| |
13 public: | |
14 ContinueWindowAura(); | |
15 virtual ~ContinueWindowAura(); | |
16 | |
17 protected: | |
18 // ContinueWindow overrides. | |
Wez
2014/10/17 17:58:00
nit: s/overrides/interface
kelvinp
2014/10/20 00:21:17
Done.
| |
19 virtual void ShowUi() OVERRIDE; | |
20 virtual void HideUi() OVERRIDE; | |
21 | |
22 private: | |
23 DISALLOW_COPY_AND_ASSIGN(ContinueWindowAura); | |
24 }; | |
25 | |
26 ContinueWindowAura::ContinueWindowAura() { | |
27 } | |
28 | |
29 ContinueWindowAura::~ContinueWindowAura() { | |
30 } | |
31 | |
32 void ContinueWindowAura::ShowUi() { | |
33 // TODO(kelvinp): Implement this on Chrome OS. | |
Wez
2014/10/17 17:58:00
Is there a bug # for that work?
kelvinp
2014/10/20 00:21:17
Done.
| |
34 } | |
35 | |
36 void ContinueWindowAura::HideUi() { | |
37 // TODO(kelvinp): Implement this on Chrome OS. | |
38 } | |
39 | |
40 // static | |
41 scoped_ptr<HostWindow> HostWindow::CreateContinueWindow() { | |
42 return scoped_ptr<HostWindow>(new ContinueWindowAura()); | |
Wez
2014/10/17 17:58:00
make_scoped_ptr(new ...)
kelvinp
2014/10/20 00:21:17
Done.
| |
43 } | |
44 | |
45 } // namespace remoting | |
OLD | NEW |