| 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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |