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