| 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" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "remoting/protocol/connection_to_host.h" | 12 #include "remoting/protocol/connection_to_host.h" |
| 13 #include "remoting/protocol/third_party_client_authenticator.h" | 13 #include "remoting/protocol/third_party_client_authenticator.h" |
| 14 | 14 |
| 15 namespace remoting { | 15 namespace remoting { |
| 16 | 16 |
| 17 namespace protocol { | 17 namespace protocol { |
| 18 class ClipboardStub; | 18 class ClipboardStub; |
| 19 class CursorShapeStub; | 19 class CursorShapeStub; |
| 20 class ExtensionMessage; |
| 20 class PairingResponse; | 21 class PairingResponse; |
| 21 } // namespace protocol | 22 } // namespace protocol |
| 22 | 23 |
| 23 // ClientUserInterface is an interface that must be implemented by | 24 // ClientUserInterface is an interface that must be implemented by |
| 24 // applications embedding the Chromoting client, to provide client's user | 25 // applications embedding the Chromoting client, to provide client's user |
| 25 // interface. | 26 // interface. |
| 26 // | 27 // |
| 27 // TODO(sergeyu): Cleanup this interface, see crbug.com/138108 . | 28 // TODO(sergeyu): Cleanup this interface, see crbug.com/138108 . |
| 28 class ClientUserInterface { | 29 class ClientUserInterface { |
| 29 public: | 30 public: |
| (...skipping 21 matching lines...) Expand all Loading... |
| 51 // Get the view's ClipboardStub implementation. | 52 // Get the view's ClipboardStub implementation. |
| 52 virtual protocol::ClipboardStub* GetClipboardStub() = 0; | 53 virtual protocol::ClipboardStub* GetClipboardStub() = 0; |
| 53 | 54 |
| 54 // Get the view's CursorShapeStub implementation. | 55 // Get the view's CursorShapeStub implementation. |
| 55 virtual protocol::CursorShapeStub* GetCursorShapeStub() = 0; | 56 virtual protocol::CursorShapeStub* GetCursorShapeStub() = 0; |
| 56 }; | 57 }; |
| 57 | 58 |
| 58 } // namespace remoting | 59 } // namespace remoting |
| 59 | 60 |
| 60 #endif // REMOTING_CLIENT_CLIENT_USER_INTERFACE_H_ | 61 #endif // REMOTING_CLIENT_CLIENT_USER_INTERFACE_H_ |
| OLD | NEW |