OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ppapi/proxy/ppb_instance_proxy.h" | 5 #include "ppapi/proxy/ppb_instance_proxy.h" |
6 | 6 |
7 #include "ppapi/c/dev/ppb_mouse_lock_dev.h" | |
8 #include "ppapi/c/pp_errors.h" | 7 #include "ppapi/c/pp_errors.h" |
9 #include "ppapi/c/pp_var.h" | 8 #include "ppapi/c/pp_var.h" |
10 #include "ppapi/c/ppb_instance.h" | 9 #include "ppapi/c/ppb_instance.h" |
11 #include "ppapi/c/ppb_messaging.h" | 10 #include "ppapi/c/ppb_messaging.h" |
| 11 #include "ppapi/c/ppb_mouse_lock.h" |
12 #include "ppapi/proxy/host_dispatcher.h" | 12 #include "ppapi/proxy/host_dispatcher.h" |
13 #include "ppapi/proxy/plugin_dispatcher.h" | 13 #include "ppapi/proxy/plugin_dispatcher.h" |
14 #include "ppapi/proxy/plugin_resource_tracker.h" | 14 #include "ppapi/proxy/plugin_resource_tracker.h" |
15 #include "ppapi/proxy/ppapi_messages.h" | 15 #include "ppapi/proxy/ppapi_messages.h" |
16 #include "ppapi/proxy/serialized_var.h" | 16 #include "ppapi/proxy/serialized_var.h" |
17 #include "ppapi/shared_impl/url_util_impl.h" | 17 #include "ppapi/shared_impl/url_util_impl.h" |
18 #include "ppapi/thunk/enter.h" | 18 #include "ppapi/thunk/enter.h" |
19 #include "ppapi/thunk/thunk.h" | 19 #include "ppapi/thunk/thunk.h" |
20 | 20 |
21 // Windows headers interfere with this file. | 21 // Windows headers interfere with this file. |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 SerializedVarReturnValue result) { | 579 SerializedVarReturnValue result) { |
580 EnterFunctionNoLock<PPB_Instance_FunctionAPI> enter(instance, true); | 580 EnterFunctionNoLock<PPB_Instance_FunctionAPI> enter(instance, true); |
581 if (enter.succeeded()) { | 581 if (enter.succeeded()) { |
582 result.Return(dispatcher(), | 582 result.Return(dispatcher(), |
583 enter.functions()->GetPluginInstanceURL(instance, NULL)); | 583 enter.functions()->GetPluginInstanceURL(instance, NULL)); |
584 } | 584 } |
585 } | 585 } |
586 | 586 |
587 } // namespace proxy | 587 } // namespace proxy |
588 } // namespace ppapi | 588 } // namespace ppapi |
OLD | NEW |