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

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

Issue 1505013002: Create CanvasCaptureMediaStreamTrack in a regular MediaStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits. Created 5 years 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 class WebFileSystem; 74 class WebFileSystem;
75 class WebFileUtilities; 75 class WebFileUtilities;
76 class WebFlingAnimator; 76 class WebFlingAnimator;
77 class WebGeofencingProvider; 77 class WebGeofencingProvider;
78 class WebGestureCurve; 78 class WebGestureCurve;
79 class WebGraphicsContext3DProvider; 79 class WebGraphicsContext3DProvider;
80 class WebIDBFactory; 80 class WebIDBFactory;
81 class WebMIDIAccessor; 81 class WebMIDIAccessor;
82 class WebMIDIAccessorClient; 82 class WebMIDIAccessorClient;
83 class WebMediaRecorderHandler; 83 class WebMediaRecorderHandler;
84 class WebMediaStream;
85 class WebMediaStreamCenter; 84 class WebMediaStreamCenter;
86 class WebMediaStreamCenterClient; 85 class WebMediaStreamCenterClient;
86 class WebMediaStreamTrack;
87 class WebMemoryDumpProvider; 87 class WebMemoryDumpProvider;
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;
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 // May return null if the functionality is not available or out of resources . 640 // May return null if the functionality is not available or out of resources .
641 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp tr; } 641 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp tr; }
642 642
643 // May return null if WebRTC functionality is not avaliable or out of resour ces. 643 // May return null if WebRTC functionality is not avaliable or out of resour ces.
644 virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return nullptr; } 644 virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return nullptr; }
645 645
646 // May return null if WebRTC functionality is not avaliable or out of resour ces. 646 // May return null if WebRTC functionality is not avaliable or out of resour ces.
647 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; } 647 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; }
648 648
649 // Creates an WebCanvasCaptureHandler to capture Canvas output. 649 // Creates an WebCanvasCaptureHandler to capture Canvas output.
650 virtual WebCanvasCaptureHandler* createCanvasCaptureHandler(const WebSize&, double, WebMediaStream*) { return nullptr; } 650 virtual WebCanvasCaptureHandler* createCanvasCaptureHandler(const WebSize&, double, WebMediaStreamTrack*) { return nullptr; }
651 // WebWorker ---------------------------------------------------------- 651 // WebWorker ----------------------------------------------------------
652 652
653 virtual void didStartWorkerRunLoop() { } 653 virtual void didStartWorkerRunLoop() { }
654 virtual void didStopWorkerRunLoop() { } 654 virtual void didStopWorkerRunLoop() { }
655 655
656 // WebCrypto ---------------------------------------------------------- 656 // WebCrypto ----------------------------------------------------------
657 657
658 virtual WebCrypto* crypto() { return nullptr; } 658 virtual WebCrypto* crypto() { return nullptr; }
659 659
660 660
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 protected: 747 protected:
748 BLINK_PLATFORM_EXPORT Platform(); 748 BLINK_PLATFORM_EXPORT Platform();
749 virtual ~Platform() { } 749 virtual ~Platform() { }
750 750
751 WebThread* m_mainThread; 751 WebThread* m_mainThread;
752 }; 752 };
753 753
754 } // namespace blink 754 } // namespace blink
755 755
756 #endif 756 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698