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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 | 535 |
536 // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Track
s. | 536 // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Track
s. |
537 // May return null if the functionality is not available. | 537 // May return null if the functionality is not available. |
538 virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { retu
rn nullptr; } | 538 virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { retu
rn nullptr; } |
539 | 539 |
540 // WebWorker ---------------------------------------------------------- | 540 // WebWorker ---------------------------------------------------------- |
541 | 541 |
542 virtual void didStartWorkerThread() { } | 542 virtual void didStartWorkerThread() { } |
543 virtual void willStopWorkerThread() { } | 543 virtual void willStopWorkerThread() { } |
544 virtual void workerContextCreated(const v8::Local<v8::Context>& worker) { } | 544 virtual void workerContextCreated(const v8::Local<v8::Context>& worker) { } |
| 545 virtual bool allowScriptExtensionForServiceWorker(const WebURL& scriptUrl) {
return false; } |
545 | 546 |
546 // WebCrypto ---------------------------------------------------------- | 547 // WebCrypto ---------------------------------------------------------- |
547 | 548 |
548 virtual WebCrypto* crypto() { return nullptr; } | 549 virtual WebCrypto* crypto() { return nullptr; } |
549 | 550 |
550 // Mojo --------------------------------------------------------------- | 551 // Mojo --------------------------------------------------------------- |
551 | 552 |
552 virtual ServiceRegistry* serviceRegistry(); | 553 virtual ServiceRegistry* serviceRegistry(); |
553 | 554 |
554 // Platform events ----------------------------------------------------- | 555 // Platform events ----------------------------------------------------- |
(...skipping 80 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 |