| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CLIENT_CLIENT_USER_INTERFACE_H_ | 5 #ifndef REMOTING_CLIENT_CLIENT_USER_INTERFACE_H_ |
| 6 #define REMOTING_CLIENT_CLIENT_USER_INTERFACE_H_ | 6 #define REMOTING_CLIENT_CLIENT_USER_INTERFACE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 // Deliver an extension message from the host to the client. | 47 // Deliver an extension message from the host to the client. |
| 48 virtual void DeliverHostMessage( | 48 virtual void DeliverHostMessage( |
| 49 const protocol::ExtensionMessage& message) = 0; | 49 const protocol::ExtensionMessage& message) = 0; |
| 50 | 50 |
| 51 // Get the view's ClipboardStub implementation. | 51 // Get the view's ClipboardStub implementation. |
| 52 virtual protocol::ClipboardStub* GetClipboardStub() = 0; | 52 virtual protocol::ClipboardStub* GetClipboardStub() = 0; |
| 53 | 53 |
| 54 // Get the view's CursorShapeStub implementation. | 54 // Get the view's CursorShapeStub implementation. |
| 55 virtual protocol::CursorShapeStub* GetCursorShapeStub() = 0; | 55 virtual protocol::CursorShapeStub* GetCursorShapeStub() = 0; |
| 56 | |
| 57 // Get the view's TokenFetcher implementation. | |
| 58 // The TokenFetcher implementation may require interactive authentication. | |
| 59 virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> | |
| 60 GetTokenFetcher(const std::string& host_public_key) = 0; | |
| 61 }; | 56 }; |
| 62 | 57 |
| 63 } // namespace remoting | 58 } // namespace remoting |
| 64 | 59 |
| 65 #endif // REMOTING_CLIENT_CLIENT_USER_INTERFACE_H_ | 60 #endif // REMOTING_CLIENT_CLIENT_USER_INTERFACE_H_ |
| OLD | NEW |