Index: ppapi/cpp/mouse_lock.h |
diff --git a/ppapi/cpp/dev/mouse_lock_dev.h b/ppapi/cpp/mouse_lock.h |
similarity index 51% |
rename from ppapi/cpp/dev/mouse_lock_dev.h |
rename to ppapi/cpp/mouse_lock.h |
index 7585de08d805daa519b0a311bef4ef2872280d62..b04c07ca2c86c452c0a44c81549f76077de56c81 100644 |
--- a/ppapi/cpp/dev/mouse_lock_dev.h |
+++ b/ppapi/cpp/mouse_lock.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef PPAPI_CPP_DEV_MOUSE_LOCK_DEV_H_ |
-#define PPAPI_CPP_DEV_MOUSE_LOCK_DEV_H_ |
+#ifndef PPAPI_CPP_MOUSE_LOCK_H_ |
+#define PPAPI_CPP_MOUSE_LOCK_H_ |
#include "ppapi/c/pp_stdint.h" |
@@ -12,20 +12,20 @@ namespace pp { |
class CompletionCallback; |
class Instance; |
-// This class allows you to associate the PPP_MouseLock_Dev and |
-// PPB_MouseLock_Dev C-based interfaces with an object. It associates itself |
-// with the given instance, and registers as the global handler for handling the |
-// PPP_MouseLock_Dev interface that the browser calls. |
+// This class allows you to associate the PPP_MouseLock and PPB_MouseLock |
+// C-based interfaces with an object. It associates itself with the given |
+// instance, and registers as the global handler for handling the PPP_MouseLock |
+// interface that the browser calls. |
// |
// You would typically use this either via inheritance on your instance: |
-// class MyInstance : public pp::Instance, public pp::MouseLock_Dev { |
-// class MyInstance() : pp::MouseLock_Dev(this) { |
+// class MyInstance : public pp::Instance, public pp::MouseLock { |
+// class MyInstance() : pp::MouseLock(this) { |
// } |
// ... |
// }; |
// |
// or by composition: |
-// class MyMouseLock : public pp::MouseLock_Dev { |
+// class MyMouseLock : public pp::MouseLock { |
// ... |
// }; |
// |
@@ -35,16 +35,15 @@ class Instance; |
// |
// MyMouseLock mouse_lock_; |
// }; |
-class MouseLock_Dev { |
+class MouseLock { |
public: |
- explicit MouseLock_Dev(Instance* instance); |
- virtual ~MouseLock_Dev(); |
+ explicit MouseLock(Instance* instance); |
+ virtual ~MouseLock(); |
- // PPP_MouseLock_Dev functions exposed as virtual functions for you to |
- // override. |
+ // PPP_MouseLock functions exposed as virtual functions for you to override. |
virtual void MouseLockLost() = 0; |
- // PPB_MouseLock_Dev functions for you to call. |
+ // PPB_MouseLock functions for you to call. |
int32_t LockMouse(const CompletionCallback& cc); |
void UnlockMouse(); |
@@ -54,4 +53,4 @@ class MouseLock_Dev { |
} // namespace pp |
-#endif // PPAPI_CPP_DEV_MOUSE_LOCK_DEV_H_ |
+#endif // PPAPI_CPP_MOUSE_LOCK_H_ |