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

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 101223005: Plumbing explicit share groups through context creation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 virtual blink::WebBlobRegistry* blobRegistry(); 126 virtual blink::WebBlobRegistry* blobRegistry();
127 virtual void sampleGamepads(blink::WebGamepads&); 127 virtual void sampleGamepads(blink::WebGamepads&);
128 virtual blink::WebString userAgent(const blink::WebURL& url); 128 virtual blink::WebString userAgent(const blink::WebURL& url);
129 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( 129 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(
130 blink::WebRTCPeerConnectionHandlerClient* client); 130 blink::WebRTCPeerConnectionHandlerClient* client);
131 virtual blink::WebMediaStreamCenter* createMediaStreamCenter( 131 virtual blink::WebMediaStreamCenter* createMediaStreamCenter(
132 blink::WebMediaStreamCenterClient* client); 132 blink::WebMediaStreamCenterClient* client);
133 virtual bool processMemorySizesInBytes( 133 virtual bool processMemorySizesInBytes(
134 size_t* private_bytes, size_t* shared_bytes); 134 size_t* private_bytes, size_t* shared_bytes);
135 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( 135 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
136 #ifdef ENABLE_EXPLICIT_GL_SHARE_GROUPS
137 const blink::WebGraphicsContext3D::Attributes& attributes,
138 blink::WebGraphicsContext3D* share_context);
139 #else
136 const blink::WebGraphicsContext3D::Attributes& attributes); 140 const blink::WebGraphicsContext3D::Attributes& attributes);
141 #endif
137 virtual blink::WebGraphicsContext3DProvider* 142 virtual blink::WebGraphicsContext3DProvider*
138 createSharedOffscreenGraphicsContext3DProvider(); 143 createSharedOffscreenGraphicsContext3DProvider();
139 virtual blink::WebCompositorSupport* compositorSupport(); 144 virtual blink::WebCompositorSupport* compositorSupport();
140 virtual blink::WebString convertIDNToUnicode( 145 virtual blink::WebString convertIDNToUnicode(
141 const blink::WebString& host, const blink::WebString& languages); 146 const blink::WebString& host, const blink::WebString& languages);
142 virtual void setDeviceMotionListener( 147 virtual void setDeviceMotionListener(
143 blink::WebDeviceMotionListener* listener) OVERRIDE; 148 blink::WebDeviceMotionListener* listener) OVERRIDE;
144 virtual void setDeviceOrientationListener( 149 virtual void setDeviceOrientationListener(
145 blink::WebDeviceOrientationListener* listener) OVERRIDE; 150 blink::WebDeviceOrientationListener* listener) OVERRIDE;
146 virtual blink::WebCrypto* crypto() OVERRIDE; 151 virtual blink::WebCrypto* crypto() OVERRIDE;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; 220 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_;
216 221
217 webkit::WebCompositorSupportImpl compositor_support_; 222 webkit::WebCompositorSupportImpl compositor_support_;
218 223
219 scoped_ptr<WebCryptoImpl> web_crypto_; 224 scoped_ptr<WebCryptoImpl> web_crypto_;
220 }; 225 };
221 226
222 } // namespace content 227 } // namespace content
223 228
224 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 229 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698