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