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. |
| 15 class DisconnectWindowAura : public HostWindow { |
| 16 public: |
| 17 DisconnectWindowAura(); |
| 18 ~DisconnectWindowAura() override; |
| 19 |
| 20 // HostWindow interface. |
| 21 void Start(const base::WeakPtr<ClientSessionControl>& client_session_control) |
| 22 override; |
| 23 |
| 24 private: |
| 25 DISALLOW_COPY_AND_ASSIGN(DisconnectWindowAura); |
| 26 }; |
| 27 |
| 28 DisconnectWindowAura::DisconnectWindowAura() { |
| 29 } |
| 30 |
| 31 DisconnectWindowAura::~DisconnectWindowAura() { |
| 32 } |
| 33 |
| 34 void DisconnectWindowAura::Start( |
| 35 const base::WeakPtr<ClientSessionControl>& client_session_control) { |
| 36 // TODO(kelvinp): Implement this on ChromeOS (See crbug.com/424908). |
| 37 NOTIMPLEMENTED(); |
| 38 } |
| 39 |
| 40 } // namespace |
| 41 |
| 42 // static |
| 43 scoped_ptr<HostWindow> HostWindow::CreateDisconnectWindow() { |
| 44 return make_scoped_ptr(new DisconnectWindowAura()); |
| 45 } |
| 46 |
| 47 } // namespace remoting |
OLD | NEW |