| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 class WebMessagePortChannel; | 89 class WebMessagePortChannel; |
| 90 class WebMimeRegistry; | 90 class WebMimeRegistry; |
| 91 class WebNavigatorConnectProvider; | 91 class WebNavigatorConnectProvider; |
| 92 class WebNotificationManager; | 92 class WebNotificationManager; |
| 93 class WebPermissionClient; | 93 class WebPermissionClient; |
| 94 class WebPluginListBuilder; | 94 class WebPluginListBuilder; |
| 95 class WebPrescientNetworking; | 95 class WebPrescientNetworking; |
| 96 class WebProcessMemoryDump; | 96 class WebProcessMemoryDump; |
| 97 class WebPublicSuffixList; | 97 class WebPublicSuffixList; |
| 98 class WebPushProvider; | 98 class WebPushProvider; |
| 99 class WebRTCCertificateGenerator; |
| 99 class WebRTCPeerConnectionHandler; | 100 class WebRTCPeerConnectionHandler; |
| 100 class WebRTCPeerConnectionHandlerClient; | 101 class WebRTCPeerConnectionHandlerClient; |
| 101 class WebSandboxSupport; | 102 class WebSandboxSupport; |
| 102 class WebScrollbarBehavior; | 103 class WebScrollbarBehavior; |
| 103 class WebSecurityOrigin; | 104 class WebSecurityOrigin; |
| 104 class WebServicePortProvider; | 105 class WebServicePortProvider; |
| 105 class WebServicePortProviderClient; | 106 class WebServicePortProviderClient; |
| 106 class WebServiceWorkerCacheStorage; | 107 class WebServiceWorkerCacheStorage; |
| 107 class WebSocketHandle; | 108 class WebSocketHandle; |
| 108 class WebSpeechSynthesizer; | 109 class WebSpeechSynthesizer; |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 | 620 |
| 620 virtual WebFlingAnimator* createFlingAnimator() { return nullptr; } | 621 virtual WebFlingAnimator* createFlingAnimator() { return nullptr; } |
| 621 | 622 |
| 622 // Creates a new fling animation curve instance for device |deviceSource| | 623 // Creates a new fling animation curve instance for device |deviceSource| |
| 623 // with |velocity| and already scrolled |cumulativeScroll| pixels. | 624 // with |velocity| and already scrolled |cumulativeScroll| pixels. |
| 624 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo
urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return n
ullptr; } | 625 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo
urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return n
ullptr; } |
| 625 | 626 |
| 626 // WebRTC ---------------------------------------------------------- | 627 // WebRTC ---------------------------------------------------------- |
| 627 | 628 |
| 628 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. | 629 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. |
| 629 // May return null if WebRTC functionality is not avaliable or out of resour
ces. | 630 // May return null if WebRTC functionality is not avaliable or if it's out o
f resources. |
| 630 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe
erConnectionHandlerClient*) { return nullptr; } | 631 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe
erConnectionHandlerClient*) { return nullptr; } |
| 631 | 632 |
| 632 // Creates an WebMediaRecorderHandler to record MediaStreams. | 633 // Creates an WebMediaRecorderHandler to record MediaStreams. |
| 633 // May return null if the functionality is not available or out of resources
. | 634 // May return null if the functionality is not available or out of resources
. |
| 634 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp
tr; } | 635 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp
tr; } |
| 635 | 636 |
| 636 // May return null if WebRTC functionality is not avaliable or out of resour
ces. | 637 // May return null if WebRTC functionality is not avaliable or out of resour
ces. |
| 638 virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return
nullptr; } |
| 639 |
| 640 // May return null if WebRTC functionality is not avaliable or out of resour
ces. |
| 637 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl
ient*) { return nullptr; } | 641 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl
ient*) { return nullptr; } |
| 638 | 642 |
| 639 // WebWorker ---------------------------------------------------------- | 643 // WebWorker ---------------------------------------------------------- |
| 640 | 644 |
| 641 virtual void didStartWorkerRunLoop() { } | 645 virtual void didStartWorkerRunLoop() { } |
| 642 virtual void didStopWorkerRunLoop() { } | 646 virtual void didStopWorkerRunLoop() { } |
| 643 | 647 |
| 644 // WebCrypto ---------------------------------------------------------- | 648 // WebCrypto ---------------------------------------------------------- |
| 645 | 649 |
| 646 virtual WebCrypto* crypto() { return nullptr; } | 650 virtual WebCrypto* crypto() { return nullptr; } |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 protected: | 745 protected: |
| 742 BLINK_PLATFORM_EXPORT Platform(); | 746 BLINK_PLATFORM_EXPORT Platform(); |
| 743 virtual ~Platform() { } | 747 virtual ~Platform() { } |
| 744 | 748 |
| 745 WebThread* m_mainThread; | 749 WebThread* m_mainThread; |
| 746 }; | 750 }; |
| 747 | 751 |
| 748 } // namespace blink | 752 } // namespace blink |
| 749 | 753 |
| 750 #endif | 754 #endif |
| OLD | NEW |