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_mouse_lock_proxy.h" | 5 #include "ppapi/proxy/ppp_mouse_lock_proxy.h" |
6 | 6 |
| 7 #include "build/build_config.h" |
7 #include "ppapi/c/ppp_mouse_lock.h" | 8 #include "ppapi/c/ppp_mouse_lock.h" |
8 #include "ppapi/proxy/host_dispatcher.h" | 9 #include "ppapi/proxy/host_dispatcher.h" |
9 #include "ppapi/proxy/ppapi_messages.h" | 10 #include "ppapi/proxy/ppapi_messages.h" |
10 #include "ppapi/shared_impl/proxy_lock.h" | 11 #include "ppapi/shared_impl/proxy_lock.h" |
11 | 12 |
12 namespace ppapi { | 13 namespace ppapi { |
13 namespace proxy { | 14 namespace proxy { |
14 | 15 |
15 namespace { | 16 namespace { |
16 | 17 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 return handled; | 68 return handled; |
68 } | 69 } |
69 | 70 |
70 void PPP_MouseLock_Proxy::OnMsgMouseLockLost(PP_Instance instance) { | 71 void PPP_MouseLock_Proxy::OnMsgMouseLockLost(PP_Instance instance) { |
71 if (ppp_mouse_lock_impl_) | 72 if (ppp_mouse_lock_impl_) |
72 CallWhileUnlocked(ppp_mouse_lock_impl_->MouseLockLost, instance); | 73 CallWhileUnlocked(ppp_mouse_lock_impl_->MouseLockLost, instance); |
73 } | 74 } |
74 | 75 |
75 } // namespace proxy | 76 } // namespace proxy |
76 } // namespace ppapi | 77 } // namespace ppapi |
OLD | NEW |