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

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

Issue 11232014: Move a bunch of code in content\renderer to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 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 | « content/test/webrtc_audio_device_test.cc ('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) 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 // TODO(yzshen): this is a layering violation. http://crbug.com/156865
11 namespace content {
10 class MouseLockDispatcher; 12 class MouseLockDispatcher;
13 }
11 14
12 namespace WebKit { 15 namespace WebKit {
13 struct WebCursorInfo; 16 struct WebCursorInfo;
14 struct WebRect; 17 struct WebRect;
15 } // namespace WebKit 18 } // namespace WebKit
16 19
17 namespace webkit { 20 namespace webkit {
18 namespace ppapi { 21 namespace ppapi {
19 22
20 // This class is like a lightweight WebPluginContainer for fullscreen PPAPI 23 // This class is like a lightweight WebPluginContainer for fullscreen PPAPI
(...skipping 14 matching lines...) Expand all
35 virtual void Destroy() = 0; 38 virtual void Destroy() = 0;
36 39
37 // Notifies the container that the mouse cursor has changed. 40 // Notifies the container that the mouse cursor has changed.
38 virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) = 0; 41 virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) = 0;
39 42
40 virtual PluginDelegate::PlatformContext3D* CreateContext3D() = 0; 43 virtual PluginDelegate::PlatformContext3D* CreateContext3D() = 0;
41 44
42 virtual void ReparentContext(PluginDelegate::PlatformContext3D*) = 0; 45 virtual void ReparentContext(PluginDelegate::PlatformContext3D*) = 0;
43 46
44 // The returned object is owned by FullscreenContainer. 47 // The returned object is owned by FullscreenContainer.
45 virtual MouseLockDispatcher* GetMouseLockDispatcher() = 0; 48 virtual content::MouseLockDispatcher* GetMouseLockDispatcher() = 0;
46 49
47 protected: 50 protected:
48 virtual ~FullscreenContainer() {} 51 virtual ~FullscreenContainer() {}
49 }; 52 };
50 53
51 } // namespace ppapi 54 } // namespace ppapi
52 } // namespace webkit 55 } // namespace webkit
53 56
54 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_ 57 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_
OLDNEW
« no previous file with comments | « content/test/webrtc_audio_device_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698