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

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

Issue 16290005: Move Pepper to using mailboxes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 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
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 namespace WebKit { 10 namespace WebKit {
(...skipping 17 matching lines...) Expand all
28 // Scrolls a partial region of the plugin in the given direction. 28 // Scrolls a partial region of the plugin in the given direction.
29 virtual void ScrollRect(int dx, int dy, const WebKit::WebRect&) = 0; 29 virtual void ScrollRect(int dx, int dy, const WebKit::WebRect&) = 0;
30 30
31 // Destroys the fullscreen window. This also destroys the FullscreenContainer 31 // Destroys the fullscreen window. This also destroys the FullscreenContainer
32 // instance. 32 // instance.
33 virtual void Destroy() = 0; 33 virtual void Destroy() = 0;
34 34
35 // Notifies the container that the mouse cursor has changed. 35 // Notifies the container that the mouse cursor has changed.
36 virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) = 0; 36 virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) = 0;
37 37
38 virtual PluginDelegate::PlatformContext3D* CreateContext3D() = 0;
39
40 virtual void ReparentContext(PluginDelegate::PlatformContext3D*) = 0;
41
42 virtual void SetLayer(WebKit::WebLayer* layer) = 0; 38 virtual void SetLayer(WebKit::WebLayer* layer) = 0;
43 39
44 protected: 40 protected:
45 virtual ~FullscreenContainer() {} 41 virtual ~FullscreenContainer() {}
46 }; 42 };
47 43
48 } // namespace ppapi 44 } // namespace ppapi
49 } // namespace webkit 45 } // namespace webkit
50 46
51 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_ 47 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget_fullscreen_pepper.cc ('k') | webkit/plugins/ppapi/mock_plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698