Chromium Code Reviews| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 66 class WebAudioBus; | 66 class WebAudioBus; |
| 67 class WebBlobRegistry; | 67 class WebBlobRegistry; |
| 68 class WebBluetooth; | 68 class WebBluetooth; |
| 69 class WebClipboard; | 69 class WebClipboard; |
| 70 class WebCompositorSupport; | 70 class WebCompositorSupport; |
| 71 class WebConvertableToTraceFormat; | 71 class WebConvertableToTraceFormat; |
| 72 class WebCookieJar; | 72 class WebCookieJar; |
| 73 class WebCrypto; | 73 class WebCrypto; |
| 74 class WebDatabaseObserver; | 74 class WebDatabaseObserver; |
| 75 class WebDiscardableMemory; | 75 class WebDiscardableMemory; |
| 76 class WebPlatformEventListener; | |
| 77 class WebFallbackThemeEngine; | 76 class WebFallbackThemeEngine; |
| 78 class WebFileSystem; | 77 class WebFileSystem; |
| 79 class WebFileUtilities; | 78 class WebFileUtilities; |
| 80 class WebFlingAnimator; | 79 class WebFlingAnimator; |
| 81 class WebGeofencingProvider; | 80 class WebGeofencingProvider; |
| 82 class WebGestureCurve; | 81 class WebGestureCurve; |
| 83 class WebGraphicsContext3DProvider; | 82 class WebGraphicsContext3DProvider; |
| 84 class WebIDBFactory; | 83 class WebIDBFactory; |
| 85 class WebMIDIAccessor; | 84 class WebMIDIAccessor; |
| 86 class WebMIDIAccessorClient; | 85 class WebMIDIAccessorClient; |
| 87 class WebMediaStreamCenter; | 86 class WebMediaStreamCenter; |
| 88 class WebMediaStreamCenterClient; | 87 class WebMediaStreamCenterClient; |
| 89 class WebMessagePortChannel; | 88 class WebMessagePortChannel; |
| 90 class WebMimeRegistry; | 89 class WebMimeRegistry; |
| 91 class WebNavigatorConnectProvider; | 90 class WebNavigatorConnectProvider; |
| 92 class WebNotificationManager; | 91 class WebNotificationManager; |
| 93 class WebPermissionClient; | 92 class WebPermissionClient; |
| 93 class WebPlatformEventListener; | |
| 94 class WebPluginListBuilder; | 94 class WebPluginListBuilder; |
| 95 class WebPrescientNetworking; | 95 class WebPrescientNetworking; |
| 96 class WebPublicSuffixList; | 96 class WebPublicSuffixList; |
| 97 class WebPushProvider; | 97 class WebPushProvider; |
| 98 class WebRTCPeerConnectionHandler; | 98 class WebRTCPeerConnectionHandler; |
| 99 class WebRTCPeerConnectionHandlerClient; | 99 class WebRTCPeerConnectionHandlerClient; |
| 100 class WebSandboxSupport; | 100 class WebSandboxSupport; |
| 101 class WebScheduler; | 101 class WebScheduler; |
| 102 class WebScrollbarBehavior; | |
| 102 class WebSecurityOrigin; | 103 class WebSecurityOrigin; |
| 103 class WebScrollbarBehavior; | 104 class WebServiceWorkerCacheStorage; |
| 104 class WebSocketHandle; | 105 class WebSocketHandle; |
| 105 class WebSpeechSynthesizer; | 106 class WebSpeechSynthesizer; |
| 106 class WebSpeechSynthesizerClient; | 107 class WebSpeechSynthesizerClient; |
| 107 class WebStorageNamespace; | 108 class WebStorageNamespace; |
| 108 class WebSyncProvider; | 109 class WebSyncProvider; |
| 109 struct WebFloatPoint; | 110 struct WebFloatPoint; |
| 110 class WebThemeEngine; | 111 class WebThemeEngine; |
| 111 class WebThread; | 112 class WebThread; |
| 112 class WebURL; | 113 class WebURL; |
| 113 class WebURLLoader; | 114 class WebURLLoader; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 212 | 213 |
| 213 virtual WebString convertIDNToUnicode(const WebString& host, const WebString & languages) { return host; } | 214 virtual WebString convertIDNToUnicode(const WebString& host, const WebString & languages) { return host; } |
| 214 | 215 |
| 215 | 216 |
| 216 // IndexedDB ---------------------------------------------------------- | 217 // IndexedDB ---------------------------------------------------------- |
| 217 | 218 |
| 218 // Must return non-null. | 219 // Must return non-null. |
| 219 virtual WebIDBFactory* idbFactory() { return 0; } | 220 virtual WebIDBFactory* idbFactory() { return 0; } |
| 220 | 221 |
| 221 | 222 |
| 223 // Cache Storage ---------------------------------------------------------- | |
| 224 | |
| 225 // The caller is responsible for deleting the returned object. | |
| 226 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebString& identifi er) { return nullptr; } | |
|
michaeln
2015/03/25 00:12:35
Maybe 'originIdentifier' for clarity. Also, should
kinuko
2015/03/25 03:57:23
I think nullptr is fine/preferred in new code.
jsbell
2015/03/25 16:25:52
originIdentifier - Done. I left it as nullptr, tho
| |
| 227 | |
| 222 // Gamepad ------------------------------------------------------------- | 228 // Gamepad ------------------------------------------------------------- |
| 223 | 229 |
| 224 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } | 230 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } |
| 225 | 231 |
| 226 | 232 |
| 227 // WebVR ------------------------------------------------------------- | 233 // WebVR ------------------------------------------------------------- |
| 228 | 234 |
| 229 virtual void getVRDevices(WebVector<blink::WebVRDevice>* devices) { }; | 235 virtual void getVRDevices(WebVector<blink::WebVRDevice>* devices) { }; |
| 230 | 236 |
| 231 virtual void getHMDSensorState(unsigned index, blink::WebHMDSensorState& int o) { } | 237 virtual void getHMDSensorState(unsigned index, blink::WebHMDSensorState& int o) { } |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 692 protected: | 698 protected: |
| 693 BLINK_PLATFORM_EXPORT Platform(); | 699 BLINK_PLATFORM_EXPORT Platform(); |
| 694 virtual ~Platform() { } | 700 virtual ~Platform() { } |
| 695 | 701 |
| 696 WebThread* m_mainThread; | 702 WebThread* m_mainThread; |
| 697 }; | 703 }; |
| 698 | 704 |
| 699 } // namespace blink | 705 } // namespace blink |
| 700 | 706 |
| 701 #endif | 707 #endif |
| OLD | NEW |