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

Unified Diff: webkit/plugins/ppapi/fullscreen_container.h

Issue 10458008: Support mouse lock in Flash fullscreen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: webkit/plugins/ppapi/fullscreen_container.h
diff --git a/webkit/plugins/ppapi/fullscreen_container.h b/webkit/plugins/ppapi/fullscreen_container.h
index dafaea6f4159a81f7c0db93220d9e2ce7f3d850c..e5e5427250f00dea3058c2e0b4a26b2cdef24bd2 100644
--- a/webkit/plugins/ppapi/fullscreen_container.h
+++ b/webkit/plugins/ppapi/fullscreen_container.h
@@ -7,6 +7,8 @@
#include "webkit/plugins/ppapi/plugin_delegate.h"
+class MouseLockDispatcher;
+
namespace WebKit {
struct WebCursorInfo;
struct WebRect;
@@ -38,6 +40,9 @@ class FullscreenContainer {
virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) = 0;
virtual PluginDelegate::PlatformContext3D* CreateContext3D() = 0;
+
+ // The returned object is owned by FullscreenContainer.
+ virtual MouseLockDispatcher* GetMouseLockDispatcher() = 0;
};
} // namespace ppapi
« ppapi/examples/mouse_lock/mouse_lock.cc ('K') | « ppapi/examples/mouse_lock/mouse_lock.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698