| 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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 virtual void createHTMLVideoElementCapturer(WebMediaStream*, WebMediaPlayer*
) {} | 521 virtual void createHTMLVideoElementCapturer(WebMediaStream*, WebMediaPlayer*
) {} |
| 522 | 522 |
| 523 // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Track
s. | 523 // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Track
s. |
| 524 // May return null if the functionality is not available. | 524 // May return null if the functionality is not available. |
| 525 virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { retu
rn nullptr; } | 525 virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { retu
rn nullptr; } |
| 526 | 526 |
| 527 // WebWorker ---------------------------------------------------------- | 527 // WebWorker ---------------------------------------------------------- |
| 528 | 528 |
| 529 virtual void didStartWorkerThread() { } | 529 virtual void didStartWorkerThread() { } |
| 530 virtual void willStopWorkerThread() { } | 530 virtual void willStopWorkerThread() { } |
| 531 virtual bool allowScriptExtensionForServiceWorker(const WebURL& scriptUrl) {
return false; } |
| 531 | 532 |
| 532 // WebCrypto ---------------------------------------------------------- | 533 // WebCrypto ---------------------------------------------------------- |
| 533 | 534 |
| 534 virtual WebCrypto* crypto() { return nullptr; } | 535 virtual WebCrypto* crypto() { return nullptr; } |
| 535 | 536 |
| 536 // Mojo --------------------------------------------------------------- | 537 // Mojo --------------------------------------------------------------- |
| 537 | 538 |
| 538 virtual ServiceRegistry* serviceRegistry(); | 539 virtual ServiceRegistry* serviceRegistry(); |
| 539 | 540 |
| 540 // Platform events ----------------------------------------------------- | 541 // Platform events ----------------------------------------------------- |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 protected: | 622 protected: |
| 622 Platform(); | 623 Platform(); |
| 623 virtual ~Platform() { } | 624 virtual ~Platform() { } |
| 624 | 625 |
| 625 WebThread* m_mainThread; | 626 WebThread* m_mainThread; |
| 626 }; | 627 }; |
| 627 | 628 |
| 628 } // namespace blink | 629 } // namespace blink |
| 629 | 630 |
| 630 #endif | 631 #endif |
| OLD | NEW |