Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(864)

Side by Side Diff: third_party/WebKit/public/platform/Platform.h

Issue 1373023002: RTCCertificate, RTCPeerConnection.generateCertificate (WebRTC JavaScript) added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed jochen's comments Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 class WebMessagePortChannel; 88 class WebMessagePortChannel;
89 class WebMimeRegistry; 89 class WebMimeRegistry;
90 class WebNavigatorConnectProvider; 90 class WebNavigatorConnectProvider;
91 class WebNotificationManager; 91 class WebNotificationManager;
92 class WebPermissionClient; 92 class WebPermissionClient;
93 class WebPluginListBuilder; 93 class WebPluginListBuilder;
94 class WebPrescientNetworking; 94 class WebPrescientNetworking;
95 class WebProcessMemoryDump; 95 class WebProcessMemoryDump;
96 class WebPublicSuffixList; 96 class WebPublicSuffixList;
97 class WebPushProvider; 97 class WebPushProvider;
98 class WebRTCCertificateGenerator;
98 class WebRTCPeerConnectionHandler; 99 class WebRTCPeerConnectionHandler;
99 class WebRTCPeerConnectionHandlerClient; 100 class WebRTCPeerConnectionHandlerClient;
100 class WebSandboxSupport; 101 class WebSandboxSupport;
101 class WebScrollbarBehavior; 102 class WebScrollbarBehavior;
102 class WebSecurityOrigin; 103 class WebSecurityOrigin;
103 class WebServicePortProvider; 104 class WebServicePortProvider;
104 class WebServicePortProviderClient; 105 class WebServicePortProviderClient;
105 class WebServiceWorkerCacheStorage; 106 class WebServiceWorkerCacheStorage;
106 class WebSocketHandle; 107 class WebSocketHandle;
107 class WebSpeechSynthesizer; 108 class WebSpeechSynthesizer;
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 619
619 virtual WebFlingAnimator* createFlingAnimator() { return nullptr; } 620 virtual WebFlingAnimator* createFlingAnimator() { return nullptr; }
620 621
621 // Creates a new fling animation curve instance for device |deviceSource| 622 // Creates a new fling animation curve instance for device |deviceSource|
622 // with |velocity| and already scrolled |cumulativeScroll| pixels. 623 // with |velocity| and already scrolled |cumulativeScroll| pixels.
623 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return n ullptr; } 624 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return n ullptr; }
624 625
625 // WebRTC ---------------------------------------------------------- 626 // WebRTC ----------------------------------------------------------
626 627
627 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. 628 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection.
628 // May return null if WebRTC functionality is not avaliable or out of resour ces. 629 // May return null if WebRTC functionality is not avaliable or if it's out o f resources.
629 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return nullptr; } 630 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return nullptr; }
630 631
631 // Creates an WebMediaRecorderHandler to record MediaStreams. 632 // Creates an WebMediaRecorderHandler to record MediaStreams.
632 // May return null if the functionality is not available or out of resources . 633 // May return null if the functionality is not available or out of resources .
633 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp tr; } 634 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp tr; }
634 635
635 // May return null if WebRTC functionality is not avaliable or out of resour ces. 636 // May return null if WebRTC functionality is not avaliable or out of resour ces.
637 virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return nullptr; }
638
639 // May return null if WebRTC functionality is not avaliable or out of resour ces.
636 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; } 640 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; }
637 641
638 // WebWorker ---------------------------------------------------------- 642 // WebWorker ----------------------------------------------------------
639 643
640 virtual void didStartWorkerRunLoop() { } 644 virtual void didStartWorkerRunLoop() { }
641 virtual void didStopWorkerRunLoop() { } 645 virtual void didStopWorkerRunLoop() { }
642 646
643 // WebCrypto ---------------------------------------------------------- 647 // WebCrypto ----------------------------------------------------------
644 648
645 virtual WebCrypto* crypto() { return nullptr; } 649 virtual WebCrypto* crypto() { return nullptr; }
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 protected: 738 protected:
735 BLINK_PLATFORM_EXPORT Platform(); 739 BLINK_PLATFORM_EXPORT Platform();
736 virtual ~Platform() { } 740 virtual ~Platform() { }
737 741
738 WebThread* m_mainThread; 742 WebThread* m_mainThread;
739 }; 743 };
740 744
741 } // namespace blink 745 } // namespace blink
742 746
743 #endif 747 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698