| 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 | 59 |
| 60 namespace blink { | 60 namespace blink { |
| 61 | 61 |
| 62 class WebAudioBus; | 62 class WebAudioBus; |
| 63 class WebBlobRegistry; | 63 class WebBlobRegistry; |
| 64 class WebContentDecryptionModule; | 64 class WebContentDecryptionModule; |
| 65 class WebClipboard; | 65 class WebClipboard; |
| 66 class WebCompositorSupport; | 66 class WebCompositorSupport; |
| 67 class WebConvertableToTraceFormat; | 67 class WebConvertableToTraceFormat; |
| 68 class WebCookieJar; | 68 class WebCookieJar; |
| 69 class WebCredentialManager; |
| 69 class WebCrypto; | 70 class WebCrypto; |
| 70 class WebDatabaseObserver; | 71 class WebDatabaseObserver; |
| 71 class WebDiscardableMemory; | 72 class WebDiscardableMemory; |
| 72 class WebPlatformEventListener; | 73 class WebPlatformEventListener; |
| 73 class WebFallbackThemeEngine; | 74 class WebFallbackThemeEngine; |
| 74 class WebFileSystem; | 75 class WebFileSystem; |
| 75 class WebFileUtilities; | 76 class WebFileUtilities; |
| 76 class WebFlingAnimator; | 77 class WebFlingAnimator; |
| 77 class WebGestureCurveTarget; | 78 class WebGestureCurveTarget; |
| 78 class WebGestureCurve; | 79 class WebGestureCurve; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 // Creates a platform dependent WebMIDIAccessor. MIDIAccessor under platform | 164 // Creates a platform dependent WebMIDIAccessor. MIDIAccessor under platform |
| 164 // creates and owns it. | 165 // creates and owns it. |
| 165 virtual WebMIDIAccessor* createMIDIAccessor(WebMIDIAccessorClient*) { return
0; } | 166 virtual WebMIDIAccessor* createMIDIAccessor(WebMIDIAccessorClient*) { return
0; } |
| 166 | 167 |
| 167 | 168 |
| 168 // Blob ---------------------------------------------------------------- | 169 // Blob ---------------------------------------------------------------- |
| 169 | 170 |
| 170 // Must return non-null. | 171 // Must return non-null. |
| 171 virtual WebBlobRegistry* blobRegistry() { return 0; } | 172 virtual WebBlobRegistry* blobRegistry() { return 0; } |
| 172 | 173 |
| 174 // Credential Management ----------------------------------------------- |
| 175 |
| 176 virtual WebCredentialManager* credentialManager() { return 0; } |
| 173 | 177 |
| 174 // Database ------------------------------------------------------------ | 178 // Database ------------------------------------------------------------ |
| 175 | 179 |
| 176 // Opens a database file; dirHandle should be 0 if the caller does not need | 180 // Opens a database file; dirHandle should be 0 if the caller does not need |
| 177 // a handle to the directory containing this file | 181 // a handle to the directory containing this file |
| 178 virtual FileHandle databaseOpenFile(const WebString& vfsFileName, int desire
dFlags) { return FileHandle(); } | 182 virtual FileHandle databaseOpenFile(const WebString& vfsFileName, int desire
dFlags) { return FileHandle(); } |
| 179 | 183 |
| 180 // Deletes a database file and returns the error code | 184 // Deletes a database file and returns the error code |
| 181 virtual int databaseDeleteFile(const WebString& vfsFileName, bool syncDir) {
return 0; } | 185 virtual int databaseDeleteFile(const WebString& vfsFileName, bool syncDir) {
return 0; } |
| 182 | 186 |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 virtual WebNotificationPresenter* notificationPresenter() { return 0; } | 636 virtual WebNotificationPresenter* notificationPresenter() { return 0; } |
| 633 | 637 |
| 634 | 638 |
| 635 protected: | 639 protected: |
| 636 virtual ~Platform() { } | 640 virtual ~Platform() { } |
| 637 }; | 641 }; |
| 638 | 642 |
| 639 } // namespace blink | 643 } // namespace blink |
| 640 | 644 |
| 641 #endif | 645 #endif |
| OLD | NEW |