| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ | 5 #ifndef CHROME_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ |
| 6 #define CHROME_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ | 6 #define CHROME_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ |
| 7 | 7 |
| 8 #include "chrome/renderer/render_widget_fullscreen.h" | 8 #include "chrome/renderer/render_widget_fullscreen.h" |
| 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h" |
| 10 #include "webkit/plugins/ppapi/fullscreen_container.h" | 10 #include "webkit/plugins/ppapi/fullscreen_container.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 // Initialize the GL states and resources for compositing. | 71 // Initialize the GL states and resources for compositing. |
| 72 bool InitContext(); | 72 bool InitContext(); |
| 73 | 73 |
| 74 // Checks (and returns) whether accelerated compositing should be on or off, | 74 // Checks (and returns) whether accelerated compositing should be on or off, |
| 75 // and notify the browser. | 75 // and notify the browser. |
| 76 bool CheckCompositing(); | 76 bool CheckCompositing(); |
| 77 | 77 |
| 78 // The plugin instance this widget wraps. | 78 // The plugin instance this widget wraps. |
| 79 webkit::ppapi::PluginInstance* plugin_; | 79 webkit::ppapi::PluginInstance* plugin_; |
| 80 | 80 |
| 81 #if defined(OS_MACOSX) | |
| 82 gfx::PluginWindowHandle plugin_handle_; | |
| 83 #endif | |
| 84 // GL context for compositing. | 81 // GL context for compositing. |
| 85 ggl::Context* context_; | 82 ggl::Context* context_; |
| 86 unsigned int buffer_; | 83 unsigned int buffer_; |
| 87 unsigned int program_; | 84 unsigned int program_; |
| 88 | 85 |
| 89 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); | 86 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); |
| 90 }; | 87 }; |
| 91 | 88 |
| 92 #endif // CHROME_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ | 89 #endif // CHROME_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ |
| OLD | NEW |