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

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

Issue 829803003: Adding Chrome-side WebVR interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated to use Mojo as requested by eng review Created 5 years, 6 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 unified diff | Download patch
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_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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 virtual bool loadAudioResource( 121 virtual bool loadAudioResource(
122 blink::WebAudioBus* destination_bus, const char* audio_file_data, 122 blink::WebAudioBus* destination_bus, const char* audio_file_data,
123 size_t data_size); 123 size_t data_size);
124 124
125 virtual blink::WebMIDIAccessor* 125 virtual blink::WebMIDIAccessor*
126 createMIDIAccessor(blink::WebMIDIAccessorClient* client); 126 createMIDIAccessor(blink::WebMIDIAccessorClient* client);
127 127
128 virtual blink::WebBlobRegistry* blobRegistry(); 128 virtual blink::WebBlobRegistry* blobRegistry();
129 virtual void sampleGamepads(blink::WebGamepads&); 129 virtual void sampleGamepads(blink::WebGamepads&);
130
130 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( 131 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(
131 blink::WebRTCPeerConnectionHandlerClient* client); 132 blink::WebRTCPeerConnectionHandlerClient* client);
132 virtual blink::WebMediaStreamCenter* createMediaStreamCenter( 133 virtual blink::WebMediaStreamCenter* createMediaStreamCenter(
133 blink::WebMediaStreamCenterClient* client); 134 blink::WebMediaStreamCenterClient* client);
134 virtual bool processMemorySizesInBytes( 135 virtual bool processMemorySizesInBytes(
135 size_t* private_bytes, size_t* shared_bytes); 136 size_t* private_bytes, size_t* shared_bytes);
136 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( 137 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
137 const blink::WebGraphicsContext3D::Attributes& attributes); 138 const blink::WebGraphicsContext3D::Attributes& attributes);
138 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( 139 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
139 const blink::WebGraphicsContext3D::Attributes& attributes, 140 const blink::WebGraphicsContext3D::Attributes& attributes,
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 device::VibrationManagerPtr vibration_manager_; 261 device::VibrationManagerPtr vibration_manager_;
261 262
262 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; 263 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_;
263 264
264 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 265 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
265 }; 266 };
266 267
267 } // namespace content 268 } // namespace content
268 269
269 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 270 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698