| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 // MIDI ---------------------------------------------------------------- | 178 // MIDI ---------------------------------------------------------------- |
| 179 | 179 |
| 180 // Creates a platform dependent WebMIDIAccessor. MIDIAccessor under platform | 180 // Creates a platform dependent WebMIDIAccessor. MIDIAccessor under platform |
| 181 // creates and owns it. | 181 // creates and owns it. |
| 182 virtual WebMIDIAccessor* createMIDIAccessor(WebMIDIAccessorClient*) { return
nullptr; } | 182 virtual WebMIDIAccessor* createMIDIAccessor(WebMIDIAccessorClient*) { return
nullptr; } |
| 183 | 183 |
| 184 | 184 |
| 185 // Blob ---------------------------------------------------------------- | 185 // Blob ---------------------------------------------------------------- |
| 186 | 186 |
| 187 // Must return non-null. | 187 // Must return non-null. |
| 188 virtual WebBlobRegistry* blobRegistry() { return nullptr; } | 188 virtual WebBlobRegistry* getBlobRegistry() { return nullptr; } |
| 189 | 189 |
| 190 // Database ------------------------------------------------------------ | 190 // Database ------------------------------------------------------------ |
| 191 | 191 |
| 192 // Opens a database file; dirHandle should be 0 if the caller does not need | 192 // Opens a database file; dirHandle should be 0 if the caller does not need |
| 193 // a handle to the directory containing this file | 193 // a handle to the directory containing this file |
| 194 virtual FileHandle databaseOpenFile(const WebString& vfsFileName, int desire
dFlags) { return FileHandle(); } | 194 virtual FileHandle databaseOpenFile(const WebString& vfsFileName, int desire
dFlags) { return FileHandle(); } |
| 195 | 195 |
| 196 // Deletes a database file and returns the error code | 196 // Deletes a database file and returns the error code |
| 197 virtual int databaseDeleteFile(const WebString& vfsFileName, bool syncDir) {
return 0; } | 197 virtual int databaseDeleteFile(const WebString& vfsFileName, bool syncDir) {
return 0; } |
| 198 | 198 |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 protected: | 574 protected: |
| 575 Platform(); | 575 Platform(); |
| 576 virtual ~Platform() { } | 576 virtual ~Platform() { } |
| 577 | 577 |
| 578 WebThread* m_mainThread; | 578 WebThread* m_mainThread; |
| 579 }; | 579 }; |
| 580 | 580 |
| 581 } // namespace blink | 581 } // namespace blink |
| 582 | 582 |
| 583 #endif | 583 #endif |
| OLD | NEW |