Chromium Code Reviews| 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 <string> | |
| 6 | |
| 7 #include "remoting/host/client_session_control.h" | |
| 8 #include "remoting/host/host_window.h" | |
| 9 | |
| 10 namespace remoting { | |
| 11 | |
| 12 namespace { | |
| 13 | |
| 14 // A place holder implementation for the Disconnect window on ChromeOS. | |
|
Wez
2014/10/17 17:58:01
Refer to bug # for that work.
kelvinp
2014/10/20 00:21:17
Done.
| |
| 15 class DisconnectWindowAura : public HostWindow { | |
| 16 public: | |
| 17 DisconnectWindowAura(); | |
| 18 virtual ~DisconnectWindowAura(); | |
| 19 | |
| 20 // HostWindow overrides. | |
|
Wez
2014/10/17 17:58:01
s/overrides/interface
kelvinp
2014/10/20 00:21:17
Done.
| |
| 21 virtual void Start( | |
| 22 const base::WeakPtr<ClientSessionControl>& client_session_control) | |
| 23 OVERRIDE; | |
| 24 | |
| 25 private: | |
| 26 DISALLOW_COPY_AND_ASSIGN(DisconnectWindowAura); | |
| 27 }; | |
| 28 | |
| 29 DisconnectWindowAura::DisconnectWindowAura() { | |
| 30 } | |
| 31 | |
| 32 DisconnectWindowAura::~DisconnectWindowAura() { | |
| 33 } | |
| 34 | |
| 35 void DisconnectWindowAura::Start( | |
| 36 const base::WeakPtr<ClientSessionControl>& client_session_control) { | |
| 37 // TODO(kelvinp): Implement this on ChromeOS. | |
| 38 } | |
| 39 | |
| 40 } // namespace | |
| 41 | |
| 42 // static | |
| 43 scoped_ptr<HostWindow> HostWindow::CreateDisconnectWindow() { | |
| 44 return scoped_ptr<HostWindow>(new DisconnectWindowAura()); | |
|
Wez
2014/10/17 17:58:00
make_scoped_ptr()
kelvinp
2014/10/20 00:21:17
Done.
| |
| 45 } | |
| 46 | |
| 47 } // namespace remoting | |
| OLD | NEW |