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 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_MOUSE_LOCK_H_ | 5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_MOUSE_LOCK_H_ |
6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_MOUSE_LOCK_H_ | 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_MOUSE_LOCK_H_ |
7 | 7 |
8 #include "native_client/src/include/nacl_macros.h" | 8 #include "native_client/src/include/nacl_macros.h" |
9 #include "ppapi/c/dev/ppb_mouse_lock_dev.h" | 9 #include "ppapi/c/ppb_mouse_lock.h" |
10 | 10 |
11 namespace ppapi_proxy { | 11 namespace ppapi_proxy { |
12 | 12 |
13 // Implements the untrusted side of the PPB_MouseLock_Dev interface. | 13 // Implements the untrusted side of the PPB_MouseLock interface. |
14 class PluginMouseLock { | 14 class PluginMouseLock { |
15 public: | 15 public: |
16 PluginMouseLock(); | 16 PluginMouseLock(); |
17 static const PPB_MouseLock_Dev* GetInterface(); | 17 static const PPB_MouseLock* GetInterface(); |
18 | 18 |
19 private: | 19 private: |
20 NACL_DISALLOW_COPY_AND_ASSIGN(PluginMouseLock); | 20 NACL_DISALLOW_COPY_AND_ASSIGN(PluginMouseLock); |
21 }; | 21 }; |
22 | 22 |
23 } // namespace ppapi_proxy | 23 } // namespace ppapi_proxy |
24 | 24 |
25 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_MOUSE_LOCK_H_ | 25 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_MOUSE_LOCK_H_ |
26 | 26 |
OLD | NEW |