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*) { } | |
602 | 600 |
603 // WebCrypto ---------------------------------------------------------- | 601 // WebCrypto ---------------------------------------------------------- |
604 | 602 |
605 virtual WebCrypto* crypto() { return 0; } | 603 virtual WebCrypto* crypto() { return 0; } |
606 | 604 |
607 | 605 |
608 // Device Motion / Orientation / Light -------------------------------------
--- | 606 // Device Motion / Orientation / Light -------------------------------------
--- |
609 | 607 |
610 // Sets a Listener to listen for device motion data updates. | 608 // Sets a Listener to listen for device motion data updates. |
611 // If null, the platform stops providing device motion data to the current l
istener. | 609 // 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... |
643 virtual WebNotificationPresenter* notificationPresenter() { return 0; } | 641 virtual WebNotificationPresenter* notificationPresenter() { return 0; } |
644 | 642 |
645 | 643 |
646 protected: | 644 protected: |
647 virtual ~Platform() { } | 645 virtual ~Platform() { } |
648 }; | 646 }; |
649 | 647 |
650 } // namespace blink | 648 } // namespace blink |
651 | 649 |
652 #endif | 650 #endif |
OLD | NEW |