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

Side by Side Diff: chrome/renderer/render_widget_fullscreen_pepper.h

Issue 6343006: Route IPC through browser when creating a viewable command buffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nit. Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/gpu_channel_host.cc ('k') | chrome/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/renderer/gpu_channel_host.cc ('k') | chrome/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698