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

Side by Side Diff: public/platform/Platform.h

Issue 197333006: Remove createContentDecryptionModule() from platform.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 // May return null on some platforms. 135 // May return null on some platforms.
136 virtual WebThemeEngine* themeEngine() { return 0; } 136 virtual WebThemeEngine* themeEngine() { return 0; }
137 137
138 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return 0; } 138 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return 0; }
139 139
140 // May return null. 140 // May return null.
141 virtual WebSpeechSynthesizer* createSpeechSynthesizer(WebSpeechSynthesizerCl ient*) { return 0; } 141 virtual WebSpeechSynthesizer* createSpeechSynthesizer(WebSpeechSynthesizerCl ient*) { return 0; }
142 142
143 143
144 // Media --------------------------------------------------------------
145
146 // May return null.
147 virtual WebContentDecryptionModule* createContentDecryptionModule(const WebS tring& keySystem) { return 0; }
148
149
150 // Audio -------------------------------------------------------------- 144 // Audio --------------------------------------------------------------
151 145
152 virtual double audioHardwareSampleRate() { return 0; } 146 virtual double audioHardwareSampleRate() { return 0; }
153 virtual size_t audioHardwareBufferSize() { return 0; } 147 virtual size_t audioHardwareBufferSize() { return 0; }
154 virtual unsigned audioHardwareOutputChannels() { return 0; } 148 virtual unsigned audioHardwareOutputChannels() { return 0; }
155 149
156 // Creates a device for audio I/O. 150 // Creates a device for audio I/O.
157 // Pass in (numberOfInputChannels > 0) if live/local audio input is desired. 151 // Pass in (numberOfInputChannels > 0) if live/local audio input is desired.
158 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number OfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::R enderCallback*, const WebString& deviceId) { return 0; } 152 virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned number OfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::R enderCallback*, const WebString& deviceId) { return 0; }
159 153
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 virtual WebDatabaseObserver* databaseObserver() { return 0; } 633 virtual WebDatabaseObserver* databaseObserver() { return 0; }
640 634
641 635
642 protected: 636 protected:
643 virtual ~Platform() { } 637 virtual ~Platform() { }
644 }; 638 };
645 639
646 } // namespace blink 640 } // namespace blink
647 641
648 #endif 642 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698