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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 | 124 |
125 virtual bool loadAudioResource( | 125 virtual bool loadAudioResource( |
126 blink::WebAudioBus* destination_bus, const char* audio_file_data, | 126 blink::WebAudioBus* destination_bus, const char* audio_file_data, |
127 size_t data_size); | 127 size_t data_size); |
128 | 128 |
129 virtual blink::WebMIDIAccessor* | 129 virtual blink::WebMIDIAccessor* |
130 createMIDIAccessor(blink::WebMIDIAccessorClient* client); | 130 createMIDIAccessor(blink::WebMIDIAccessorClient* client); |
131 | 131 |
132 virtual blink::WebBlobRegistry* blobRegistry(); | 132 virtual blink::WebBlobRegistry* blobRegistry(); |
133 virtual void sampleGamepads(blink::WebGamepads&); | 133 virtual void sampleGamepads(blink::WebGamepads&); |
| 134 |
134 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( | 135 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
135 blink::WebRTCPeerConnectionHandlerClient* client); | 136 blink::WebRTCPeerConnectionHandlerClient* client); |
136 virtual blink::WebMediaStreamCenter* createMediaStreamCenter( | 137 virtual blink::WebMediaStreamCenter* createMediaStreamCenter( |
137 blink::WebMediaStreamCenterClient* client); | 138 blink::WebMediaStreamCenterClient* client); |
138 virtual bool processMemorySizesInBytes( | 139 virtual bool processMemorySizesInBytes( |
139 size_t* private_bytes, size_t* shared_bytes); | 140 size_t* private_bytes, size_t* shared_bytes); |
140 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 141 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
141 const blink::WebGraphicsContext3D::Attributes& attributes); | 142 const blink::WebGraphicsContext3D::Attributes& attributes); |
142 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 143 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
143 const blink::WebGraphicsContext3D::Attributes& attributes, | 144 const blink::WebGraphicsContext3D::Attributes& attributes, |
(...skipping 120 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 |