| 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 | |
| 6 // responsibilities for each thread. | |
| 7 | |
| 8 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
| 9 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 6 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
| 10 | 7 |
| 11 #include <string> | 8 #include <string> |
| 12 | 9 |
| 13 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 14 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 16 #include "base/thread_task_runner_handle.h" | 13 #include "base/thread_task_runner_handle.h" |
| 17 #include "ppapi/c/pp_instance.h" | 14 #include "ppapi/c/pp_instance.h" |
| 18 #include "ppapi/c/pp_rect.h" | 15 #include "ppapi/c/pp_rect.h" |
| 19 #include "ppapi/c/pp_resource.h" | 16 #include "ppapi/c/pp_resource.h" |
| 20 #include "ppapi/cpp/instance.h" | 17 #include "ppapi/cpp/instance.h" |
| 21 #include "ppapi/cpp/var.h" | 18 #include "ppapi/cpp/var.h" |
| 22 #include "remoting/client/client_context.h" | 19 #include "remoting/client/client_context.h" |
| 23 #include "remoting/client/client_user_interface.h" | 20 #include "remoting/client/client_user_interface.h" |
| 24 #include "remoting/client/key_event_mapper.h" | 21 #include "remoting/client/key_event_mapper.h" |
| 25 #include "remoting/client/plugin/media_source_video_renderer.h" | 22 #include "remoting/client/plugin/media_source_video_renderer.h" |
| 26 #include "remoting/client/plugin/normalizing_input_filter.h" | |
| 27 #include "remoting/client/plugin/pepper_input_handler.h" | 23 #include "remoting/client/plugin/pepper_input_handler.h" |
| 28 #include "remoting/client/plugin/pepper_plugin_thread_delegate.h" | 24 #include "remoting/client/plugin/pepper_plugin_thread_delegate.h" |
| 29 #include "remoting/proto/event.pb.h" | 25 #include "remoting/proto/event.pb.h" |
| 30 #include "remoting/protocol/client_stub.h" | 26 #include "remoting/protocol/client_stub.h" |
| 31 #include "remoting/protocol/clipboard_stub.h" | 27 #include "remoting/protocol/clipboard_stub.h" |
| 32 #include "remoting/protocol/connection_to_host.h" | 28 #include "remoting/protocol/connection_to_host.h" |
| 33 #include "remoting/protocol/cursor_shape_stub.h" | 29 #include "remoting/protocol/cursor_shape_stub.h" |
| 34 #include "remoting/protocol/input_event_tracker.h" | 30 #include "remoting/protocol/input_event_tracker.h" |
| 35 #include "remoting/protocol/mouse_input_filter.h" | 31 #include "remoting/protocol/mouse_input_filter.h" |
| 36 #include "remoting/protocol/negotiating_client_authenticator.h" | 32 #include "remoting/protocol/negotiating_client_authenticator.h" |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 | 296 |
| 301 // Weak reference to this instance, used for global logging and task posting. | 297 // Weak reference to this instance, used for global logging and task posting. |
| 302 base::WeakPtrFactory<ChromotingInstance> weak_factory_; | 298 base::WeakPtrFactory<ChromotingInstance> weak_factory_; |
| 303 | 299 |
| 304 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); | 300 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); |
| 305 }; | 301 }; |
| 306 | 302 |
| 307 } // namespace remoting | 303 } // namespace remoting |
| 308 | 304 |
| 309 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 305 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
| OLD | NEW |