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 #include "remoting/client/plugin/chromoting_instance.h" | 5 #include "remoting/client/plugin/chromoting_instance.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
12 #include "base/thread.h" | 12 #include "base/threading/thread.h" |
13 #include "ppapi/c/pp_input_event.h" | 13 #include "ppapi/c/pp_input_event.h" |
14 #include "ppapi/cpp/completion_callback.h" | 14 #include "ppapi/cpp/completion_callback.h" |
15 #include "ppapi/cpp/rect.h" | 15 #include "ppapi/cpp/rect.h" |
16 #include "remoting/client/client_config.h" | 16 #include "remoting/client/client_config.h" |
17 #include "remoting/client/client_util.h" | 17 #include "remoting/client/client_util.h" |
18 #include "remoting/client/chromoting_client.h" | 18 #include "remoting/client/chromoting_client.h" |
19 #include "remoting/client/rectangle_update_decoder.h" | 19 #include "remoting/client/rectangle_update_decoder.h" |
20 #include "remoting/client/plugin/chromoting_scriptable_object.h" | 20 #include "remoting/client/plugin/chromoting_scriptable_object.h" |
21 #include "remoting/client/plugin/pepper_input_handler.h" | 21 #include "remoting/client/plugin/pepper_input_handler.h" |
22 #include "remoting/client/plugin/pepper_view.h" | 22 #include "remoting/client/plugin/pepper_view.h" |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 object->Init(); | 183 object->Init(); |
184 | 184 |
185 // The pp::Var takes ownership of object here. | 185 // The pp::Var takes ownership of object here. |
186 instance_object_ = pp::Var(object); | 186 instance_object_ = pp::Var(object); |
187 } | 187 } |
188 | 188 |
189 return instance_object_; | 189 return instance_object_; |
190 } | 190 } |
191 | 191 |
192 } // namespace remoting | 192 } // namespace remoting |
OLD | NEW |