| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 void SendPerfStats(); | 178 void SendPerfStats(); |
| 179 | 179 |
| 180 void ProcessLogToUI(const std::string& message); | 180 void ProcessLogToUI(const std::string& message); |
| 181 | 181 |
| 182 // Returns true if there is a ConnectionToHost and it is connected. | 182 // Returns true if there is a ConnectionToHost and it is connected. |
| 183 bool IsConnected(); | 183 bool IsConnected(); |
| 184 | 184 |
| 185 bool initialized_; | 185 bool initialized_; |
| 186 | 186 |
| 187 PepperPluginThreadDelegate plugin_thread_delegate_; | 187 PepperPluginThreadDelegate plugin_thread_delegate_; |
| 188 scoped_refptr<PluginMessageLoopProxy> plugin_message_loop_; | 188 scoped_refptr<PluginThreadTaskRunner> plugin_task_runner_; |
| 189 ClientContext context_; | 189 ClientContext context_; |
| 190 scoped_ptr<protocol::ConnectionToHost> host_connection_; | 190 scoped_ptr<protocol::ConnectionToHost> host_connection_; |
| 191 scoped_ptr<PepperView> view_; | 191 scoped_ptr<PepperView> view_; |
| 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_; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 209 scoped_refptr<PepperXmppProxy> xmpp_proxy_; | 209 scoped_refptr<PepperXmppProxy> xmpp_proxy_; |
| 210 | 210 |
| 211 base::WeakPtrFactory<ChromotingInstance> weak_factory_; | 211 base::WeakPtrFactory<ChromotingInstance> weak_factory_; |
| 212 | 212 |
| 213 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); | 213 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); |
| 214 }; | 214 }; |
| 215 | 215 |
| 216 } // namespace remoting | 216 } // namespace remoting |
| 217 | 217 |
| 218 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 218 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
| OLD | NEW |