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 // TODO(ajwong): We need to come up with a better description of the | 5 // TODO(ajwong): We need to come up with a better description of the |
6 // responsibilities for each thread. | 6 // responsibilities for each thread. |
7 | 7 |
8 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 8 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
9 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 9 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
10 | 10 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 192 |
193 scoped_refptr<RectangleUpdateDecoder> rectangle_decoder_; | 193 scoped_refptr<RectangleUpdateDecoder> rectangle_decoder_; |
194 | 194 |
195 scoped_ptr<protocol::MouseInputFilter> mouse_input_filter_; | 195 scoped_ptr<protocol::MouseInputFilter> mouse_input_filter_; |
196 scoped_ptr<protocol::InputEventTracker> input_tracker_; | 196 scoped_ptr<protocol::InputEventTracker> input_tracker_; |
197 #if defined(OS_MACOSX) | 197 #if defined(OS_MACOSX) |
198 scoped_ptr<MacKeyEventProcessor> mac_key_event_processor_; | 198 scoped_ptr<MacKeyEventProcessor> mac_key_event_processor_; |
199 #endif | 199 #endif |
200 KeyEventMapper key_mapper_; | 200 KeyEventMapper key_mapper_; |
201 scoped_ptr<PepperInputHandler> input_handler_; | 201 scoped_ptr<PepperInputHandler> input_handler_; |
202 scoped_ptr<PepperAudioPlayer> audio_player_; | |
203 scoped_ptr<ChromotingClient> client_; | 202 scoped_ptr<ChromotingClient> client_; |
204 | 203 |
205 // XmppProxy is a refcounted interface used to perform thread-switching and | 204 // XmppProxy is a refcounted interface used to perform thread-switching and |
206 // detaching between objects whose lifetimes are controlled by pepper, and | 205 // detaching between objects whose lifetimes are controlled by pepper, and |
207 // jingle_glue objects. This is used when if we start a sandboxed jingle | 206 // jingle_glue objects. This is used when if we start a sandboxed jingle |
208 // connection. | 207 // connection. |
209 scoped_refptr<PepperXmppProxy> xmpp_proxy_; | 208 scoped_refptr<PepperXmppProxy> xmpp_proxy_; |
210 | 209 |
211 base::WeakPtrFactory<ChromotingInstance> weak_factory_; | 210 base::WeakPtrFactory<ChromotingInstance> weak_factory_; |
212 | 211 |
213 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); | 212 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); |
214 }; | 213 }; |
215 | 214 |
216 } // namespace remoting | 215 } // namespace remoting |
217 | 216 |
218 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 217 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
OLD | NEW |