OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
59 class WebDiscardableMemory; | 59 class WebDiscardableMemory; |
60 class WebFallbackThemeEngine; | 60 class WebFallbackThemeEngine; |
61 class WebFileSystem; | 61 class WebFileSystem; |
62 class WebFileUtilities; | 62 class WebFileUtilities; |
63 class WebFlingAnimator; | 63 class WebFlingAnimator; |
64 class WebGestureCurveTarget; | 64 class WebGestureCurveTarget; |
65 class WebGestureCurve; | 65 class WebGestureCurve; |
66 class WebGraphicsContext3DProvider; | 66 class WebGraphicsContext3DProvider; |
67 class WebHyphenator; | 67 class WebHyphenator; |
68 class WebIDBFactory; | 68 class WebIDBFactory; |
69 class WebMIDIAccessor; | |
70 class WebMIDIAccessorClient; | |
69 class WebMediaStreamCenter; | 71 class WebMediaStreamCenter; |
70 class WebMediaStreamCenterClient; | 72 class WebMediaStreamCenterClient; |
71 class WebMessagePortChannel; | 73 class WebMessagePortChannel; |
72 class WebMimeRegistry; | 74 class WebMimeRegistry; |
73 class WebPluginListBuilder; | 75 class WebPluginListBuilder; |
74 class WebPrescientNetworking; | 76 class WebPrescientNetworking; |
75 class WebRTCPeerConnectionHandler; | 77 class WebRTCPeerConnectionHandler; |
76 class WebRTCPeerConnectionHandlerClient; | 78 class WebRTCPeerConnectionHandlerClient; |
77 class WebSandboxSupport; | 79 class WebSandboxSupport; |
78 class WebSocketStreamHandle; | 80 class WebSocketStreamHandle; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
144 virtual unsigned audioHardwareOutputChannels() { return 0; } | 146 virtual unsigned audioHardwareOutputChannels() { return 0; } |
145 | 147 |
146 // Creates a device for audio I/O. | 148 // Creates a device for audio I/O. |
147 // Pass in (numberOfInputChannels > 0) if live/local audio input is desired. | 149 // Pass in (numberOfInputChannels > 0) if live/local audio input is desired. |
148 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number OfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::R enderCallback*, const WebString& deviceId) { return 0; } | 150 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number OfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::R enderCallback*, const WebString& deviceId) { return 0; } |
149 | 151 |
150 // FIXME: remove deprecated APIs once chromium switches over to new method. | 152 // FIXME: remove deprecated APIs once chromium switches over to new method. |
151 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number OfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; } | 153 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number OfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; } |
152 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number OfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::R enderCallback*) { return 0; } | 154 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number OfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::R enderCallback*) { return 0; } |
153 | 155 |
156 // MIDI ---------------------------------------------------------------- | |
157 | |
158 // Creates a platform dependent WebMIDIAccessor. MIDIAccessor under platform | |
159 // creates and owns it. | |
160 virtual WebMIDIAccessor* createMIDIAccessor(WebMIDIAccessorClient*) { return 0; } | |
154 | 161 |
abarth-chromium
2013/06/19 17:08:59
Please keep two blank lines between each section.
Chris Rogers
2013/06/19 19:43:31
Done.
| |
155 // Blob ---------------------------------------------------------------- | 162 // Blob ---------------------------------------------------------------- |
156 | 163 |
157 // Must return non-null. | 164 // Must return non-null. |
158 virtual WebBlobRegistry* blobRegistry() { return 0; } | 165 virtual WebBlobRegistry* blobRegistry() { return 0; } |
159 | 166 |
160 | 167 |
161 // Database ------------------------------------------------------------ | 168 // Database ------------------------------------------------------------ |
162 | 169 |
163 // Opens a database file; dirHandle should be 0 if the caller does not need | 170 // Opens a database file; dirHandle should be 0 if the caller does not need |
164 // a handle to the directory containing this file | 171 // a handle to the directory containing this file |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
536 // If null, the platform stops providing device motion data to the current l istener. | 543 // If null, the platform stops providing device motion data to the current l istener. |
537 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { } | 544 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { } |
538 | 545 |
539 protected: | 546 protected: |
540 virtual ~Platform() { } | 547 virtual ~Platform() { } |
541 }; | 548 }; |
542 | 549 |
543 } // namespace WebKit | 550 } // namespace WebKit |
544 | 551 |
545 #endif | 552 #endif |
OLD | NEW |