Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h

Issue 14607005: [NaCl SDK] Cleanup examples. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: feedback Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h
diff --git a/native_client_sdk/src/examples/api/mouse_lock/mouselock.h b/native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h
similarity index 98%
rename from native_client_sdk/src/examples/api/mouse_lock/mouselock.h
rename to native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h
index 2e1d190077b2580b036bacbe44dff13bfca52ec8..88fcc5fc832f6a9e1131c273cb6fa264c4b09c29 100644
--- a/native_client_sdk/src/examples/api/mouse_lock/mouselock.h
+++ b/native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h
@@ -8,12 +8,12 @@
#include "ppapi/c/ppb_input_event.h"
#include "ppapi/cpp/completion_callback.h"
#include "ppapi/cpp/fullscreen.h"
-#include "ppapi/cpp/mouse_lock.h"
#include "ppapi/cpp/graphics_2d.h"
#include "ppapi/cpp/image_data.h"
#include "ppapi/cpp/input_event.h"
#include "ppapi/cpp/instance.h"
#include "ppapi/cpp/module.h"
+#include "ppapi/cpp/mouse_lock.h"
#include "ppapi/cpp/rect.h"
#include "ppapi/cpp/size.h"
#include "ppapi/cpp/var.h"
@@ -24,8 +24,6 @@
#pragma warning(disable : 4355)
#endif
-namespace mouselock {
-
class MouseLockInstance : public pp::Instance, public pp::MouseLock {
public:
explicit MouseLockInstance(PP_Instance instance)
@@ -102,5 +100,3 @@ class MouseLockInstance : public pp::Instance, public pp::MouseLock {
bool was_fullscreen_;
uint32_t* background_scanline_;
};
-
-} // namespace mouselock
« no previous file with comments | « native_client_sdk/src/examples/api/mouse_lock/example.dsc ('k') | native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698