| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |