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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
136 virtual unsigned audioHardwareOutputChannels() { return 0; } | 137 virtual unsigned audioHardwareOutputChannels() { return 0; } |
137 | 138 |
138 // Creates a device for audio I/O. | 139 // Creates a device for audio I/O. |
139 // Pass in (numberOfInputChannels > 0) if live/local audio input is desired. | 140 // 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; } | 141 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number OfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::R enderCallback*, const WebString& deviceId) { return 0; } |
141 | 142 |
142 // FIXME: remove deprecated APIs once chromium switches over to new method. | 143 // FIXME: remove deprecated APIs once chromium switches over to new method. |
143 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number OfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; } | 144 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number OfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; } |
144 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number OfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::R enderCallback*) { return 0; } | 145 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number OfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::R enderCallback*) { return 0; } |
145 | 146 |
147 // May return null. | |
148 virtual WebContentDecryptionModule* createContentDecryptionModule(const WebS tring& keySystem) { return 0; } | |
146 | 149 |
abarth-chromium
2013/06/12 23:03:51
Please maintain two blank lines between sections.
ddorwin
2013/06/12 23:55:54
Done.
| |
147 // Blob ---------------------------------------------------------------- | 150 // Blob ---------------------------------------------------------------- |
148 | 151 |
149 // Must return non-null. | 152 // Must return non-null. |
150 virtual WebBlobRegistry* blobRegistry() { return 0; } | 153 virtual WebBlobRegistry* blobRegistry() { return 0; } |
151 | 154 |
152 | 155 |
153 // Database ------------------------------------------------------------ | 156 // Database ------------------------------------------------------------ |
154 | 157 |
155 // Opens a database file; dirHandle should be 0 if the caller does not need | 158 // Opens a database file; dirHandle should be 0 if the caller does not need |
156 // a handle to the directory containing this file | 159 // a handle to the directory containing this file |
(...skipping 366 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. | 526 // If null, the platform stops providing device motion data to the current l istener. |
524 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { } | 527 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { } |
525 | 528 |
526 protected: | 529 protected: |
527 virtual ~Platform() { } | 530 virtual ~Platform() { } |
528 }; | 531 }; |
529 | 532 |
530 } // namespace WebKit | 533 } // namespace WebKit |
531 | 534 |
532 #endif | 535 #endif |
OLD | NEW |