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 CONTENT_RENDERER_PEPPER_PPB_FULLSCREEN_CONTAINER_IMPL_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PPB_FULLSCREEN_CONTAINER_IMPL_H_ |
7 | 7 |
8 #include "webkit/plugins/ppapi/plugin_delegate.h" | 8 #include "content/renderer/pepper/plugin_delegate.h" |
9 | 9 |
10 namespace WebKit { | 10 namespace WebKit { |
| 11 class WebLayer; |
11 struct WebCursorInfo; | 12 struct WebCursorInfo; |
12 struct WebRect; | 13 struct WebRect; |
13 } // namespace WebKit | 14 } // namespace WebKit |
14 | 15 |
15 namespace webkit { | 16 namespace webkit { |
16 namespace ppapi { | 17 namespace ppapi { |
17 | 18 |
18 // This class is like a lightweight WebPluginContainer for fullscreen PPAPI | 19 // This class is like a lightweight WebPluginContainer for fullscreen PPAPI |
19 // plugins, that only handles painting. | 20 // plugins, that only handles painting. |
20 class FullscreenContainer { | 21 class FullscreenContainer { |
(...skipping 16 matching lines...) Expand all Loading... |
37 | 38 |
38 virtual void SetLayer(WebKit::WebLayer* layer) = 0; | 39 virtual void SetLayer(WebKit::WebLayer* layer) = 0; |
39 | 40 |
40 protected: | 41 protected: |
41 virtual ~FullscreenContainer() {} | 42 virtual ~FullscreenContainer() {} |
42 }; | 43 }; |
43 | 44 |
44 } // namespace ppapi | 45 } // namespace ppapi |
45 } // namespace webkit | 46 } // namespace webkit |
46 | 47 |
47 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_ | 48 #endif // CONTENT_RENDERER_PEPPER_PPB_FULLSCREEN_CONTAINER_IMPL_H_ |
OLD | NEW |