OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_TEST_TEST_CHROMOTING_CLIENT_H_ | 5 #ifndef REMOTING_TEST_TEST_CHROMOTING_CLIENT_H_ |
6 #define REMOTING_TEST_TEST_CHROMOTING_CLIENT_H_ | 6 #define REMOTING_TEST_TEST_CHROMOTING_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // ClientUserInterface interface. | 78 // ClientUserInterface interface. |
79 void OnConnectionState(protocol::ConnectionToHost::State state, | 79 void OnConnectionState(protocol::ConnectionToHost::State state, |
80 protocol::ErrorCode error_code) override; | 80 protocol::ErrorCode error_code) override; |
81 void OnConnectionReady(bool ready) override; | 81 void OnConnectionReady(bool ready) override; |
82 void OnRouteChanged(const std::string& channel_name, | 82 void OnRouteChanged(const std::string& channel_name, |
83 const protocol::TransportRoute& route) override; | 83 const protocol::TransportRoute& route) override; |
84 void SetCapabilities(const std::string& capabilities) override; | 84 void SetCapabilities(const std::string& capabilities) override; |
85 void SetPairingResponse( | 85 void SetPairingResponse( |
86 const protocol::PairingResponse& pairing_response) override; | 86 const protocol::PairingResponse& pairing_response) override; |
87 void DeliverHostMessage(const protocol::ExtensionMessage& message) override; | 87 void DeliverHostMessage(const protocol::ExtensionMessage& message) override; |
| 88 void SetDesktopSize(const webrtc::DesktopSize& size, |
| 89 const webrtc::DesktopVector& dpi) override; |
88 protocol::ClipboardStub* GetClipboardStub() override; | 90 protocol::ClipboardStub* GetClipboardStub() override; |
89 protocol::CursorShapeStub* GetCursorShapeStub() override; | 91 protocol::CursorShapeStub* GetCursorShapeStub() override; |
90 | 92 |
91 // protocol::ClipboardStub interface. | 93 // protocol::ClipboardStub interface. |
92 void InjectClipboardEvent(const protocol::ClipboardEvent& event) override; | 94 void InjectClipboardEvent(const protocol::ClipboardEvent& event) override; |
93 | 95 |
94 // protocol::CursorShapeStub interface. | 96 // protocol::CursorShapeStub interface. |
95 void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) override; | 97 void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) override; |
96 | 98 |
97 // Tracks the current connection state. | 99 // Tracks the current connection state. |
(...skipping 22 matching lines...) Expand all Loading... |
120 // SignalStrategy used for connection signaling. | 122 // SignalStrategy used for connection signaling. |
121 scoped_ptr<SignalStrategy> signal_strategy_; | 123 scoped_ptr<SignalStrategy> signal_strategy_; |
122 | 124 |
123 DISALLOW_COPY_AND_ASSIGN(TestChromotingClient); | 125 DISALLOW_COPY_AND_ASSIGN(TestChromotingClient); |
124 }; | 126 }; |
125 | 127 |
126 } // namespace test | 128 } // namespace test |
127 } // namespace remoting | 129 } // namespace remoting |
128 | 130 |
129 #endif // REMOTING_TEST_TEST_CHROMOTING_CLIENT_H_ | 131 #endif // REMOTING_TEST_TEST_CHROMOTING_CLIENT_H_ |
OLD | NEW |