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_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/id_map.h" | 9 #include "base/id_map.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 122 |
123 virtual bool loadAudioResource( | 123 virtual bool loadAudioResource( |
124 blink::WebAudioBus* destination_bus, const char* audio_file_data, | 124 blink::WebAudioBus* destination_bus, const char* audio_file_data, |
125 size_t data_size); | 125 size_t data_size); |
126 | 126 |
127 virtual blink::WebMIDIAccessor* | 127 virtual blink::WebMIDIAccessor* |
128 createMIDIAccessor(blink::WebMIDIAccessorClient* client); | 128 createMIDIAccessor(blink::WebMIDIAccessorClient* client); |
129 | 129 |
130 virtual blink::WebBlobRegistry* blobRegistry(); | 130 virtual blink::WebBlobRegistry* blobRegistry(); |
131 virtual void sampleGamepads(blink::WebGamepads&); | 131 virtual void sampleGamepads(blink::WebGamepads&); |
| 132 |
132 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( | 133 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
133 blink::WebRTCPeerConnectionHandlerClient* client); | 134 blink::WebRTCPeerConnectionHandlerClient* client); |
134 virtual blink::WebMediaStreamCenter* createMediaStreamCenter( | 135 virtual blink::WebMediaStreamCenter* createMediaStreamCenter( |
135 blink::WebMediaStreamCenterClient* client); | 136 blink::WebMediaStreamCenterClient* client); |
136 virtual bool processMemorySizesInBytes( | 137 virtual bool processMemorySizesInBytes( |
137 size_t* private_bytes, size_t* shared_bytes); | 138 size_t* private_bytes, size_t* shared_bytes); |
138 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 139 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
139 const blink::WebGraphicsContext3D::Attributes& attributes); | 140 const blink::WebGraphicsContext3D::Attributes& attributes); |
140 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 141 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
141 const blink::WebGraphicsContext3D::Attributes& attributes, | 142 const blink::WebGraphicsContext3D::Attributes& attributes, |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 device::VibrationManagerPtr vibration_manager_; | 265 device::VibrationManagerPtr vibration_manager_; |
265 | 266 |
266 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; | 267 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
267 | 268 |
268 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 269 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
269 }; | 270 }; |
270 | 271 |
271 } // namespace content | 272 } // namespace content |
272 | 273 |
273 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 274 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |