OLD | NEW |
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 Loading... |
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); | 226 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); |
222 }; | 227 }; |
223 | 228 |
224 } // namespace content | 229 } // namespace content |
225 | 230 |
226 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 231 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |