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

Side by Side 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: rebase Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/examples/mouse_lock/mouse_lock.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_
7 7
8 #include "webkit/plugins/ppapi/plugin_delegate.h" 8 #include "webkit/plugins/ppapi/plugin_delegate.h"
9 9
10 class MouseLockDispatcher;
11
10 namespace WebKit { 12 namespace WebKit {
11 struct WebCursorInfo; 13 struct WebCursorInfo;
12 struct WebRect; 14 struct WebRect;
13 } // namespace WebKit 15 } // namespace WebKit
14 16
15 namespace webkit { 17 namespace webkit {
16 namespace ppapi { 18 namespace ppapi {
17 19
18 // This class is like a lightweight WebPluginContainer for fullscreen PPAPI 20 // This class is like a lightweight WebPluginContainer for fullscreen PPAPI
19 // plugins, that only handles painting. 21 // plugins, that only handles painting.
(...skipping 11 matching lines...) Expand all
31 virtual void ScrollRect(int dx, int dy, const WebKit::WebRect&) = 0; 33 virtual void ScrollRect(int dx, int dy, const WebKit::WebRect&) = 0;
32 34
33 // Destroys the fullscreen window. This also destroys the FullscreenContainer 35 // Destroys the fullscreen window. This also destroys the FullscreenContainer
34 // instance. 36 // instance.
35 virtual void Destroy() = 0; 37 virtual void Destroy() = 0;
36 38
37 // Notifies the container that the mouse cursor has changed. 39 // Notifies the container that the mouse cursor has changed.
38 virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) = 0; 40 virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) = 0;
39 41
40 virtual PluginDelegate::PlatformContext3D* CreateContext3D() = 0; 42 virtual PluginDelegate::PlatformContext3D* CreateContext3D() = 0;
43
44 // The returned object is owned by FullscreenContainer.
45 virtual MouseLockDispatcher* GetMouseLockDispatcher() = 0;
41 }; 46 };
42 47
43 } // namespace ppapi 48 } // namespace ppapi
44 } // namespace webkit 49 } // namespace webkit
45 50
46 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_ 51 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_
OLDNEW
« no previous file with comments | « 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