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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 void PerformKeyboardAction(int key_code, bool key_down); | 71 void PerformKeyboardAction(int key_code, bool key_down); |
72 | 72 |
73 // ClientUserInterface implementation. | 73 // ClientUserInterface implementation. |
74 virtual void OnConnectionState( | 74 virtual void OnConnectionState( |
75 protocol::ConnectionToHost::State state, | 75 protocol::ConnectionToHost::State state, |
76 protocol::ErrorCode error) OVERRIDE; | 76 protocol::ErrorCode error) OVERRIDE; |
77 virtual void OnConnectionReady(bool ready) OVERRIDE; | 77 virtual void OnConnectionReady(bool ready) OVERRIDE; |
78 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE; | 78 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE; |
79 virtual void SetPairingResponse( | 79 virtual void SetPairingResponse( |
80 const protocol::PairingResponse& response) OVERRIDE; | 80 const protocol::PairingResponse& response) OVERRIDE; |
| 81 virtual void DeliverHostMessage( |
| 82 const protocol::ExtensionMessage& message) OVERRIDE; |
81 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE; | 83 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE; |
82 virtual protocol::CursorShapeStub* GetCursorShapeStub() OVERRIDE; | 84 virtual protocol::CursorShapeStub* GetCursorShapeStub() OVERRIDE; |
83 virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> | 85 virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> |
84 GetTokenFetcher(const std::string& host_public_key) OVERRIDE; | 86 GetTokenFetcher(const std::string& host_public_key) OVERRIDE; |
85 | 87 |
86 // CursorShapeStub implementation. | 88 // CursorShapeStub implementation. |
87 virtual void InjectClipboardEvent( | 89 virtual void InjectClipboardEvent( |
88 const protocol::ClipboardEvent& event) OVERRIDE; | 90 const protocol::ClipboardEvent& event) OVERRIDE; |
89 | 91 |
90 // ClipboardStub implementation. | 92 // ClipboardStub implementation. |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 bool create_pairing_; | 146 bool create_pairing_; |
145 | 147 |
146 friend class base::RefCountedThreadSafe<ChromotingJniInstance>; | 148 friend class base::RefCountedThreadSafe<ChromotingJniInstance>; |
147 | 149 |
148 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance); | 150 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance); |
149 }; | 151 }; |
150 | 152 |
151 } // namespace remoting | 153 } // namespace remoting |
152 | 154 |
153 #endif | 155 #endif |
OLD | NEW |