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

Side by Side Diff: webkit/plugins/ppapi/fullscreen_container.h

Issue 10918182: Don't require a recreation of the context when fullscreening (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix style Created 8 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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; 10 class MouseLockDispatcher;
(...skipping 21 matching lines...) Expand all
32 32
33 // Destroys the fullscreen window. This also destroys the FullscreenContainer 33 // Destroys the fullscreen window. This also destroys the FullscreenContainer
34 // instance. 34 // instance.
35 virtual void Destroy() = 0; 35 virtual void Destroy() = 0;
36 36
37 // Notifies the container that the mouse cursor has changed. 37 // Notifies the container that the mouse cursor has changed.
38 virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) = 0; 38 virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) = 0;
39 39
40 virtual PluginDelegate::PlatformContext3D* CreateContext3D() = 0; 40 virtual PluginDelegate::PlatformContext3D* CreateContext3D() = 0;
41 41
42 virtual void ReparentContext(PluginDelegate::PlatformContext3D*) = 0;
43
42 // The returned object is owned by FullscreenContainer. 44 // The returned object is owned by FullscreenContainer.
43 virtual MouseLockDispatcher* GetMouseLockDispatcher() = 0; 45 virtual MouseLockDispatcher* GetMouseLockDispatcher() = 0;
44 46
45 protected: 47 protected:
46 virtual ~FullscreenContainer() {} 48 virtual ~FullscreenContainer() {}
47 }; 49 };
48 50
49 } // namespace ppapi 51 } // namespace ppapi
50 } // namespace webkit 52 } // namespace webkit
51 53
52 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_ 54 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698