| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
| 15 #include "remoting/client/client_context.h" | 15 #include "remoting/client/client_context.h" |
| 16 #include "remoting/client/host_connection.h" | 16 #include "remoting/client/host_connection.h" |
| 17 #include "third_party/ppapi/c/pp_event.h" | 17 #include "third_party/ppapi/c/pp_event.h" |
| 18 #include "third_party/ppapi/c/pp_instance.h" | 18 #include "third_party/ppapi/c/pp_instance.h" |
| 19 #include "third_party/ppapi/c/pp_rect.h" | 19 #include "third_party/ppapi/c/pp_rect.h" |
| 20 #include "third_party/ppapi/c/pp_resource.h" | 20 #include "third_party/ppapi/c/pp_resource.h" |
| 21 #include "third_party/ppapi/cpp/instance.h" | 21 #include "third_party/ppapi/cpp/instance.h" |
| 22 #include "third_party/ppapi/cpp/device_context_2d.h" | |
| 23 #include "third_party/ppapi/cpp/var.h" | 22 #include "third_party/ppapi/cpp/var.h" |
| 24 | 23 |
| 25 class MessageLoop; | 24 class MessageLoop; |
| 26 | 25 |
| 27 namespace base { | 26 namespace base { |
| 28 class Thread; | 27 class Thread; |
| 29 } // namespace base | 28 } // namespace base |
| 30 | 29 |
| 31 namespace pp { | 30 namespace pp { |
| 32 class Module; | 31 class Module; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 scoped_ptr<InputHandler> input_handler_; | 73 scoped_ptr<InputHandler> input_handler_; |
| 75 scoped_ptr<ChromotingClient> client_; | 74 scoped_ptr<ChromotingClient> client_; |
| 76 pp::Var instance_object_; // JavaScript interface to control this instance. | 75 pp::Var instance_object_; // JavaScript interface to control this instance. |
| 77 | 76 |
| 78 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); | 77 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); |
| 79 }; | 78 }; |
| 80 | 79 |
| 81 } // namespace remoting | 80 } // namespace remoting |
| 82 | 81 |
| 83 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 82 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
| OLD | NEW |