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 #include "ppapi/proxy/ppp_graphics_3d_proxy.h" | 5 #include "ppapi/proxy/ppp_graphics_3d_proxy.h" |
6 | 6 |
| 7 #include "build/build_config.h" |
7 #include "ppapi/c/ppp_graphics_3d.h" | 8 #include "ppapi/c/ppp_graphics_3d.h" |
8 #include "ppapi/proxy/host_dispatcher.h" | 9 #include "ppapi/proxy/host_dispatcher.h" |
9 #include "ppapi/proxy/plugin_dispatcher.h" | 10 #include "ppapi/proxy/plugin_dispatcher.h" |
10 #include "ppapi/proxy/ppapi_messages.h" | 11 #include "ppapi/proxy/ppapi_messages.h" |
11 #include "ppapi/shared_impl/proxy_lock.h" | 12 #include "ppapi/shared_impl/proxy_lock.h" |
12 | 13 |
13 namespace ppapi { | 14 namespace ppapi { |
14 namespace proxy { | 15 namespace proxy { |
15 | 16 |
16 namespace { | 17 namespace { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 return handled; | 62 return handled; |
62 } | 63 } |
63 | 64 |
64 void PPP_Graphics3D_Proxy::OnMsgContextLost(PP_Instance instance) { | 65 void PPP_Graphics3D_Proxy::OnMsgContextLost(PP_Instance instance) { |
65 if (ppp_graphics_3d_impl_) | 66 if (ppp_graphics_3d_impl_) |
66 CallWhileUnlocked(ppp_graphics_3d_impl_->Graphics3DContextLost, instance); | 67 CallWhileUnlocked(ppp_graphics_3d_impl_->Graphics3DContextLost, instance); |
67 } | 68 } |
68 | 69 |
69 } // namespace proxy | 70 } // namespace proxy |
70 } // namespace ppapi | 71 } // namespace ppapi |
OLD | NEW |