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

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

Issue 1599533003: MediaCaptureFromElement: add support for audio captureStream(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return nullptr; } 524 virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return nullptr; }
525 525
526 // May return null if WebRTC functionality is not available or out of resour ces. 526 // May return null if WebRTC functionality is not available or out of resour ces.
527 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; } 527 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; }
528 528
529 // Creates a WebCanvasCaptureHandler to capture Canvas output. 529 // Creates a WebCanvasCaptureHandler to capture Canvas output.
530 virtual WebCanvasCaptureHandler* createCanvasCaptureHandler(const WebSize&, double, WebMediaStreamTrack*) { return nullptr; } 530 virtual WebCanvasCaptureHandler* createCanvasCaptureHandler(const WebSize&, double, WebMediaStreamTrack*) { return nullptr; }
531 531
532 // Fills in the WebMediaStream to capture from the WebMediaPlayer identified 532 // Fills in the WebMediaStream to capture from the WebMediaPlayer identified
533 // by the second parameter. 533 // by the second parameter.
534 virtual void createHTMLVideoElementCapturer(WebMediaStream*, WebMediaPlayer* ) {} 534 virtual void createHTMLVideoElementCapturer(WebMediaStream*, WebMediaPlayer* ) { }
535 virtual void createHTMLAudioElementCapturer(WebMediaStream*, WebMediaPlayer* ) { }
535 536
536 // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Track s. 537 // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Track s.
537 // May return null if the functionality is not available. 538 // May return null if the functionality is not available.
538 virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { retu rn nullptr; } 539 virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { retu rn nullptr; }
539 540
540 // WebWorker ---------------------------------------------------------- 541 // WebWorker ----------------------------------------------------------
541 542
542 virtual void didStartWorkerThread() { } 543 virtual void didStartWorkerThread() { }
543 virtual void willStopWorkerThread() { } 544 virtual void willStopWorkerThread() { }
544 virtual void workerContextCreated(const v8::Local<v8::Context>& worker) { } 545 virtual void workerContextCreated(const v8::Local<v8::Context>& worker) { }
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 protected: 636 protected:
636 Platform(); 637 Platform();
637 virtual ~Platform() { } 638 virtual ~Platform() { }
638 639
639 WebThread* m_mainThread; 640 WebThread* m_mainThread;
640 }; 641 };
641 642
642 } // namespace blink 643 } // namespace blink
643 644
644 #endif 645 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698