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