| 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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 | 534 |
| 535 // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Track
s. | 535 // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Track
s. |
| 536 // May return null if the functionality is not available. | 536 // May return null if the functionality is not available. |
| 537 virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { retu
rn nullptr; } | 537 virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { retu
rn nullptr; } |
| 538 | 538 |
| 539 // WebWorker ---------------------------------------------------------- | 539 // WebWorker ---------------------------------------------------------- |
| 540 | 540 |
| 541 virtual void didStartWorkerThread() { } | 541 virtual void didStartWorkerThread() { } |
| 542 virtual void willStopWorkerThread() { } | 542 virtual void willStopWorkerThread() { } |
| 543 virtual void workerContextCreated(const v8::Local<v8::Context>& worker) { } | 543 virtual void workerContextCreated(const v8::Local<v8::Context>& worker) { } |
| 544 virtual bool allowScriptExtensionForServiceWorker(const WebURL& scriptUrl) {
return false; } |
| 544 | 545 |
| 545 // WebCrypto ---------------------------------------------------------- | 546 // WebCrypto ---------------------------------------------------------- |
| 546 | 547 |
| 547 virtual WebCrypto* crypto() { return nullptr; } | 548 virtual WebCrypto* crypto() { return nullptr; } |
| 548 | 549 |
| 549 // Mojo --------------------------------------------------------------- | 550 // Mojo --------------------------------------------------------------- |
| 550 | 551 |
| 551 virtual ServiceRegistry* serviceRegistry(); | 552 virtual ServiceRegistry* serviceRegistry(); |
| 552 | 553 |
| 553 // Platform events ----------------------------------------------------- | 554 // Platform events ----------------------------------------------------- |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 protected: | 630 protected: |
| 630 Platform(); | 631 Platform(); |
| 631 virtual ~Platform() { } | 632 virtual ~Platform() { } |
| 632 | 633 |
| 633 WebThread* m_mainThread; | 634 WebThread* m_mainThread; |
| 634 }; | 635 }; |
| 635 | 636 |
| 636 } // namespace blink | 637 } // namespace blink |
| 637 | 638 |
| 638 #endif | 639 #endif |
| OLD | NEW |