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 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 | 590 |
591 // May return null if WebRTC functionality is not avaliable or out of resour
ces. | 591 // May return null if WebRTC functionality is not avaliable or out of resour
ces. |
592 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl
ient*) { return 0; } | 592 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl
ient*) { return 0; } |
593 | 593 |
594 | 594 |
595 // WebWorker ---------------------------------------------------------- | 595 // WebWorker ---------------------------------------------------------- |
596 | 596 |
597 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } | 597 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } |
598 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } | 598 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } |
599 | 599 |
| 600 virtual void didStartWorkerThread(WebThread*) { } |
| 601 virtual void didStopWorkerThread(WebThread*) { } |
600 | 602 |
601 // WebCrypto ---------------------------------------------------------- | 603 // WebCrypto ---------------------------------------------------------- |
602 | 604 |
603 virtual WebCrypto* crypto() { return 0; } | 605 virtual WebCrypto* crypto() { return 0; } |
604 | 606 |
605 | 607 |
606 // Device Motion / Orientation / Light -------------------------------------
--- | 608 // Device Motion / Orientation / Light -------------------------------------
--- |
607 | 609 |
608 // Sets a Listener to listen for device motion data updates. | 610 // Sets a Listener to listen for device motion data updates. |
609 // If null, the platform stops providing device motion data to the current l
istener. | 611 // If null, the platform stops providing device motion data to the current l
istener. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 virtual WebNotificationPresenter* notificationPresenter() { return 0; } | 643 virtual WebNotificationPresenter* notificationPresenter() { return 0; } |
642 | 644 |
643 | 645 |
644 protected: | 646 protected: |
645 virtual ~Platform() { } | 647 virtual ~Platform() { } |
646 }; | 648 }; |
647 | 649 |
648 } // namespace blink | 650 } // namespace blink |
649 | 651 |
650 #endif | 652 #endif |
OLD | NEW |