OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_HOST_CONTINUE_WINDOW_H | 5 #ifndef REMOTING_HOST_CONTINUE_WINDOW_H |
6 #define REMOTING_HOST_CONTINUE_WINDOW_H | 6 #define REMOTING_HOST_CONTINUE_WINDOW_H |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 | 9 |
10 namespace remoting { | 10 namespace remoting { |
(...skipping 11 matching lines...) Expand all Loading... |
22 virtual ~ContinueWindow() {} | 22 virtual ~ContinueWindow() {} |
23 | 23 |
24 // Show the continuation window requesting that the user approve continuing | 24 // Show the continuation window requesting that the user approve continuing |
25 // the session. | 25 // the session. |
26 virtual void Show(ChromotingHost* host, | 26 virtual void Show(ChromotingHost* host, |
27 const ContinueSessionCallback& callback) = 0; | 27 const ContinueSessionCallback& callback) = 0; |
28 | 28 |
29 // Hide the continuation window if it is visible. | 29 // Hide the continuation window if it is visible. |
30 virtual void Hide() = 0; | 30 virtual void Hide() = 0; |
31 | 31 |
32 static ContinueWindow* Create(); | 32 static scoped_ptr<ContinueWindow> Create(); |
33 }; | 33 }; |
34 | 34 |
35 } | 35 } |
36 | 36 |
37 #endif // REMOTING_HOST_CONTINUE_WINDOW_H | 37 #endif // REMOTING_HOST_CONTINUE_WINDOW_H |
OLD | NEW |