| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CHROMOTING_JNI_INSTANCE_H_ | 5 #ifndef REMOTING_CLIENT_CHROMOTING_JNI_INSTANCE_H_ |
| 6 #define REMOTING_CLIENT_CHROMOTING_JNI_INSTANCE_H_ | 6 #define REMOTING_CLIENT_CHROMOTING_JNI_INSTANCE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 void PerformKeyboardAction(int key_code, bool key_down); | 68 void PerformKeyboardAction(int key_code, bool key_down); |
| 69 | 69 |
| 70 // ClientUserInterface implementation. | 70 // ClientUserInterface implementation. |
| 71 virtual void OnConnectionState( | 71 virtual void OnConnectionState( |
| 72 protocol::ConnectionToHost::State state, | 72 protocol::ConnectionToHost::State state, |
| 73 protocol::ErrorCode error) OVERRIDE; | 73 protocol::ErrorCode error) OVERRIDE; |
| 74 virtual void OnConnectionReady(bool ready) OVERRIDE; | 74 virtual void OnConnectionReady(bool ready) OVERRIDE; |
| 75 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE; | 75 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE; |
| 76 virtual void SetPairingResponse( | 76 virtual void SetPairingResponse( |
| 77 const protocol::PairingResponse& response) OVERRIDE; | 77 const protocol::PairingResponse& response) OVERRIDE; |
| 78 virtual void DeliverHostMessage( |
| 79 const protocol::ExtensionMessage& message) OVERRIDE; |
| 78 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE; | 80 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE; |
| 79 virtual protocol::CursorShapeStub* GetCursorShapeStub() OVERRIDE; | 81 virtual protocol::CursorShapeStub* GetCursorShapeStub() OVERRIDE; |
| 80 virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> | 82 virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> |
| 81 GetTokenFetcher(const std::string& host_public_key) OVERRIDE; | 83 GetTokenFetcher(const std::string& host_public_key) OVERRIDE; |
| 82 | 84 |
| 83 // CursorShapeStub implementation. | 85 // CursorShapeStub implementation. |
| 84 virtual void InjectClipboardEvent( | 86 virtual void InjectClipboardEvent( |
| 85 const protocol::ClipboardEvent& event) OVERRIDE; | 87 const protocol::ClipboardEvent& event) OVERRIDE; |
| 86 | 88 |
| 87 // ClipboardStub implementation. | 89 // ClipboardStub implementation. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 std::string host_pubkey_; | 135 std::string host_pubkey_; |
| 134 | 136 |
| 135 friend class base::RefCountedThreadSafe<ChromotingJniInstance>; | 137 friend class base::RefCountedThreadSafe<ChromotingJniInstance>; |
| 136 | 138 |
| 137 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance); | 139 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance); |
| 138 }; | 140 }; |
| 139 | 141 |
| 140 } // namespace remoting | 142 } // namespace remoting |
| 141 | 143 |
| 142 #endif | 144 #endif |
| OLD | NEW |