| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ |
| 6 #define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ |
| 7 | 7 |
| 8 #include "base/task.h" |
| 8 #include "content/renderer/render_widget_fullscreen.h" | 9 #include "content/renderer/render_widget_fullscreen.h" |
| 9 #include "content/renderer/gpu/renderer_gl_context.h" | 10 #include "content/renderer/gpu/renderer_gl_context.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h" |
| 11 #include "webkit/plugins/ppapi/fullscreen_container.h" | 12 #include "webkit/plugins/ppapi/fullscreen_container.h" |
| 12 | 13 |
| 13 namespace webkit { | 14 namespace webkit { |
| 14 namespace ppapi { | 15 namespace ppapi { |
| 15 | 16 |
| 16 class PluginInstance; | 17 class PluginInstance; |
| 17 | 18 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 GURL active_url_; | 88 GURL active_url_; |
| 88 | 89 |
| 89 // The plugin instance this widget wraps. | 90 // The plugin instance this widget wraps. |
| 90 webkit::ppapi::PluginInstance* plugin_; | 91 webkit::ppapi::PluginInstance* plugin_; |
| 91 | 92 |
| 92 // GL context for compositing. | 93 // GL context for compositing. |
| 93 RendererGLContext* context_; | 94 RendererGLContext* context_; |
| 94 unsigned int buffer_; | 95 unsigned int buffer_; |
| 95 unsigned int program_; | 96 unsigned int program_; |
| 96 | 97 |
| 98 ScopedRunnableMethodFactory<RenderWidgetFullscreenPepper> method_factory_; |
| 99 |
| 97 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); | 100 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); |
| 98 }; | 101 }; |
| 99 | 102 |
| 100 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ | 103 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ |
| OLD | NEW |