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

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

Issue 2339193002: Wip - cl for implemening VideoTrackSource::ApplyConstraints(constraints, VideoTrack) and adopt safe…
Patch Set: Created 4 years, 3 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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 // May return null if the functionality is not available or out of resources . 467 // May return null if the functionality is not available or out of resources .
468 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp tr; } 468 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp tr; }
469 469
470 // May return null if WebRTC functionality is not available or out of resour ces. 470 // May return null if WebRTC functionality is not available or out of resour ces.
471 virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return nullptr; } 471 virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return nullptr; }
472 472
473 // May return null if WebRTC functionality is not available or out of resour ces. 473 // May return null if WebRTC functionality is not available or out of resour ces.
474 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; } 474 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; }
475 475
476 // Creates a WebCanvasCaptureHandler to capture Canvas output. 476 // Creates a WebCanvasCaptureHandler to capture Canvas output.
477 virtual WebCanvasCaptureHandler* createCanvasCaptureHandler(const WebSize&, double, WebMediaStreamTrack*) { return nullptr; } 477 virtual WebCanvasCaptureHandler* createCanvasCaptureHandler() { return nullp tr; }
478 478
479 // Fills in the WebMediaStream to capture from the WebMediaPlayer identified 479 // Fills in the WebMediaStream to capture from the WebMediaPlayer identified
480 // by the second parameter. 480 // by the second parameter.
481 virtual void createHTMLVideoElementCapturer(WebMediaStream*, WebMediaPlayer* ) { } 481 virtual void createHTMLVideoElementCapturer(WebMediaStream*, WebMediaPlayer* ) { }
482 virtual void createHTMLAudioElementCapturer(WebMediaStream*, WebMediaPlayer* ) { } 482 virtual void createHTMLAudioElementCapturer(WebMediaStream*, WebMediaPlayer* ) { }
483 483
484 // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Track s. 484 // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Track s.
485 // May return null if the functionality is not available. 485 // May return null if the functionality is not available.
486 virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { retu rn nullptr; } 486 virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { retu rn nullptr; }
487 487
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 protected: 574 protected:
575 Platform(); 575 Platform();
576 virtual ~Platform() { } 576 virtual ~Platform() { }
577 577
578 WebThread* m_mainThread; 578 WebThread* m_mainThread;
579 }; 579 };
580 580
581 } // namespace blink 581 } // namespace blink
582 582
583 #endif 583 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698