| 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/macros.h" | 10 #include "base/macros.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 // ClientUserInterface implementation. | 102 // ClientUserInterface implementation. |
| 103 void OnConnectionState(protocol::ConnectionToHost::State state, | 103 void OnConnectionState(protocol::ConnectionToHost::State state, |
| 104 protocol::ErrorCode error) override; | 104 protocol::ErrorCode error) override; |
| 105 void OnConnectionReady(bool ready) override; | 105 void OnConnectionReady(bool ready) override; |
| 106 void OnRouteChanged(const std::string& channel_name, | 106 void OnRouteChanged(const std::string& channel_name, |
| 107 const protocol::TransportRoute& route) override; | 107 const protocol::TransportRoute& route) override; |
| 108 void SetCapabilities(const std::string& capabilities) override; | 108 void SetCapabilities(const std::string& capabilities) override; |
| 109 void SetPairingResponse(const protocol::PairingResponse& response) override; | 109 void SetPairingResponse(const protocol::PairingResponse& response) override; |
| 110 void DeliverHostMessage(const protocol::ExtensionMessage& message) override; | 110 void DeliverHostMessage(const protocol::ExtensionMessage& message) override; |
| 111 void SetDesktopSize(const webrtc::DesktopSize& size, |
| 112 const webrtc::DesktopVector& dpi) override; |
| 111 protocol::ClipboardStub* GetClipboardStub() override; | 113 protocol::ClipboardStub* GetClipboardStub() override; |
| 112 protocol::CursorShapeStub* GetCursorShapeStub() override; | 114 protocol::CursorShapeStub* GetCursorShapeStub() override; |
| 113 | 115 |
| 114 // CursorShapeStub implementation. | 116 // CursorShapeStub implementation. |
| 115 void InjectClipboardEvent(const protocol::ClipboardEvent& event) override; | 117 void InjectClipboardEvent(const protocol::ClipboardEvent& event) override; |
| 116 | 118 |
| 117 // ClipboardStub implementation. | 119 // ClipboardStub implementation. |
| 118 void SetCursorShape(const protocol::CursorShapeInfo& shape) override; | 120 void SetCursorShape(const protocol::CursorShapeInfo& shape) override; |
| 119 | 121 |
| 120 private: | 122 private: |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 friend class base::RefCountedThreadSafe<ChromotingJniInstance>; | 192 friend class base::RefCountedThreadSafe<ChromotingJniInstance>; |
| 191 | 193 |
| 192 base::WeakPtrFactory<ChromotingJniInstance> weak_factory_; | 194 base::WeakPtrFactory<ChromotingJniInstance> weak_factory_; |
| 193 | 195 |
| 194 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance); | 196 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance); |
| 195 }; | 197 }; |
| 196 | 198 |
| 197 } // namespace remoting | 199 } // namespace remoting |
| 198 | 200 |
| 199 #endif | 201 #endif |
| OLD | NEW |