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

Unified Diff: chrome/renderer/webgles2context_impl.h

Issue 3132038: Mac: Correctly show/hide compositor on navigations. (Closed)
Patch Set: comment Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/renderer_host/test/test_render_view_host.cc ('k') | chrome/renderer/webgles2context_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/webgles2context_impl.h
diff --git a/chrome/renderer/webgles2context_impl.h b/chrome/renderer/webgles2context_impl.h
index e8c267e3765bc8722dadd522ca8112877ef8f6df..d77313bf780efab4b65d9dadaa7b060fc6f341b3 100644
--- a/chrome/renderer/webgles2context_impl.h
+++ b/chrome/renderer/webgles2context_impl.h
@@ -12,6 +12,10 @@
#include "third_party/WebKit/WebKit/chromium/public/WebGLES2Context.h"
#include "third_party/WebKit/WebKit/chromium/public/WebSize.h"
+#if defined(OS_MACOSX)
+#include "gfx/native_widget_types.h"
+#endif
+
class WebGLES2ContextImpl : public WebKit::WebGLES2Context {
public:
WebGLES2ContextImpl();
@@ -36,7 +40,11 @@ class WebGLES2ContextImpl : public WebKit::WebGLES2Context {
private:
// The GGL context we use for OpenGL rendering.
ggl::Context* context_;
+
+#if defined(OS_MACOSX)
+ gfx::PluginWindowHandle plugin_handle_;
WebKit::WebView* web_view_;
+#endif
};
#endif // defined(ENABLE_GPU)
« no previous file with comments | « chrome/browser/renderer_host/test/test_render_view_host.cc ('k') | chrome/renderer/webgles2context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698