OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/child/npobject_proxy.h" | 5 #include "content/child/npapi/npobject_proxy.h" |
6 | 6 |
7 #include "content/child/np_channel_base.h" | 7 #include "content/child/npapi/np_channel_base.h" |
| 8 #include "content/child/npapi/npobject_util.h" |
8 #include "content/child/npapi/plugin_host.h" | 9 #include "content/child/npapi/plugin_host.h" |
9 #include "content/child/npapi/plugin_instance.h" | 10 #include "content/child/npapi/plugin_instance.h" |
10 #include "content/child/npobject_util.h" | |
11 #include "content/child/plugin_messages.h" | 11 #include "content/child/plugin_messages.h" |
12 #include "third_party/WebKit/public/web/WebBindings.h" | 12 #include "third_party/WebKit/public/web/WebBindings.h" |
13 | 13 |
14 using WebKit::WebBindings; | 14 using WebKit::WebBindings; |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
18 struct NPObjectWrapper { | 18 struct NPObjectWrapper { |
19 NPObject object; | 19 NPObject object; |
20 NPObjectProxy* proxy; | 20 NPObjectProxy* proxy; |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 proxy = NULL; | 498 proxy = NULL; |
499 if (!result) | 499 if (!result) |
500 return false; | 500 return false; |
501 | 501 |
502 CreateNPVariant( | 502 CreateNPVariant( |
503 result_param, channel.get(), result_var, render_view_id, page_url); | 503 result_param, channel.get(), result_var, render_view_id, page_url); |
504 return true; | 504 return true; |
505 } | 505 } |
506 | 506 |
507 } // namespace content | 507 } // namespace content |
OLD | NEW |