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

Unified Diff: content/renderer/render_view_impl.h

Issue 10798006: Implement WebCompositorOutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review, uses filters properly Created 8 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
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 7b8a8b91baf8f50551fedf9395d4ee18504ff67b..9da9e7233c5f4c0efe76fd0821df2d45e50b7f71 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -137,6 +137,7 @@ class WebMediaPlayerManagerAndroid;
namespace WebKit {
class WebApplicationCacheHost;
class WebApplicationCacheHostClient;
+class WebCompositorOutputSurface;
class WebDOMMessageEvent;
class WebDataSource;
class WebDragData;
@@ -430,8 +431,7 @@ class RenderViewImpl : public RenderWidget,
WebKit::WebExternalPopupMenuClient* popup_menu_client);
virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(
unsigned quota);
- virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(
- const WebKit::WebGraphicsContext3D::Attributes& attributes);
+ virtual WebKit::WebCompositorOutputSurface* createOutputSurface() OVERRIDE;
virtual void didAddMessageToConsole(
const WebKit::WebConsoleMessage& message,
const WebKit::WebString& source_name,
@@ -1036,6 +1036,9 @@ class RenderViewImpl : public RenderWidget,
// Check whether the preferred size has changed.
void CheckPreferredSize();
+ WebKit::WebGraphicsContext3D* CreateGraphicsContext3D(
+ const WebKit::WebGraphicsContext3D::Attributes& attributes);
+
void EnsureMediaStreamImpl();
// This callback is triggered when DownloadFavicon completes, either

Powered by Google App Engine
This is Rietveld 408576698