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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "WebSpeechSynthesizer.h" | 44 #include "WebSpeechSynthesizer.h" |
45 #include "WebString.h" | 45 #include "WebString.h" |
46 #include "WebVector.h" | 46 #include "WebVector.h" |
47 | 47 |
48 class GrContext; | 48 class GrContext; |
49 | 49 |
50 namespace WebKit { | 50 namespace WebKit { |
51 | 51 |
52 class WebAudioBus; | 52 class WebAudioBus; |
53 class WebBlobRegistry; | 53 class WebBlobRegistry; |
| 54 class WebContentDecryptionModule; |
54 class WebClipboard; | 55 class WebClipboard; |
55 class WebCompositorSupport; | 56 class WebCompositorSupport; |
56 class WebCookieJar; | 57 class WebCookieJar; |
57 class WebDeviceMotionListener; | 58 class WebDeviceMotionListener; |
58 class WebDiscardableMemory; | 59 class WebDiscardableMemory; |
59 class WebFallbackThemeEngine; | 60 class WebFallbackThemeEngine; |
60 class WebFileSystem; | 61 class WebFileSystem; |
61 class WebFileUtilities; | 62 class WebFileUtilities; |
62 class WebFlingAnimator; | 63 class WebFlingAnimator; |
63 class WebGestureCurveTarget; | 64 class WebGestureCurveTarget; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 virtual WebThemeEngine* themeEngine() { return 0; } | 123 virtual WebThemeEngine* themeEngine() { return 0; } |
123 | 124 |
124 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return 0; } | 125 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return 0; } |
125 | 126 |
126 // Must return non-null. | 127 // Must return non-null. |
127 virtual WebHyphenator* hyphenator() { return 0; } | 128 virtual WebHyphenator* hyphenator() { return 0; } |
128 | 129 |
129 // May return null. | 130 // May return null. |
130 virtual WebSpeechSynthesizer* createSpeechSynthesizer(WebSpeechSynthesizerCl
ient*) { return 0; } | 131 virtual WebSpeechSynthesizer* createSpeechSynthesizer(WebSpeechSynthesizerCl
ient*) { return 0; } |
131 | 132 |
| 133 |
| 134 // Media -------------------------------------------------------------- |
| 135 |
| 136 // May return null. |
| 137 virtual WebContentDecryptionModule* createContentDecryptionModule(const WebS
tring& keySystem) { return 0; } |
| 138 |
| 139 |
132 // Audio -------------------------------------------------------------- | 140 // Audio -------------------------------------------------------------- |
133 | 141 |
134 virtual double audioHardwareSampleRate() { return 0; } | 142 virtual double audioHardwareSampleRate() { return 0; } |
135 virtual size_t audioHardwareBufferSize() { return 0; } | 143 virtual size_t audioHardwareBufferSize() { return 0; } |
136 virtual unsigned audioHardwareOutputChannels() { return 0; } | 144 virtual unsigned audioHardwareOutputChannels() { return 0; } |
137 | 145 |
138 // Creates a device for audio I/O. | 146 // Creates a device for audio I/O. |
139 // Pass in (numberOfInputChannels > 0) if live/local audio input is desired. | 147 // Pass in (numberOfInputChannels > 0) if live/local audio input is desired. |
140 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number
OfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::R
enderCallback*, const WebString& deviceId) { return 0; } | 148 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number
OfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::R
enderCallback*, const WebString& deviceId) { return 0; } |
141 | 149 |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 // If null, the platform stops providing device motion data to the current l
istener. | 531 // If null, the platform stops providing device motion data to the current l
istener. |
524 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { } | 532 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { } |
525 | 533 |
526 protected: | 534 protected: |
527 virtual ~Platform() { } | 535 virtual ~Platform() { } |
528 }; | 536 }; |
529 | 537 |
530 } // namespace WebKit | 538 } // namespace WebKit |
531 | 539 |
532 #endif | 540 #endif |
OLD | NEW |