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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 class WebSpeechSynthesizer; | 100 class WebSpeechSynthesizer; |
101 class WebSpeechSynthesizerClient; | 101 class WebSpeechSynthesizerClient; |
102 class WebStorageNamespace; | 102 class WebStorageNamespace; |
103 struct WebFloatPoint; | 103 struct WebFloatPoint; |
104 class WebThemeEngine; | 104 class WebThemeEngine; |
105 class WebThread; | 105 class WebThread; |
106 class WebURL; | 106 class WebURL; |
107 class WebURLLoader; | 107 class WebURLLoader; |
108 class WebUnitTestSupport; | 108 class WebUnitTestSupport; |
109 class WebWaitableEvent; | 109 class WebWaitableEvent; |
110 class WebWorkerRunLoop; | |
111 struct WebLocalizedString; | 110 struct WebLocalizedString; |
112 struct WebSize; | 111 struct WebSize; |
113 | 112 |
114 class Platform { | 113 class Platform { |
115 public: | 114 public: |
116 // HTML5 Database ------------------------------------------------------ | 115 // HTML5 Database ------------------------------------------------------ |
117 | 116 |
118 #ifdef WIN32 | 117 #ifdef WIN32 |
119 typedef HANDLE FileHandle; | 118 typedef HANDLE FileHandle; |
120 #else | 119 #else |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. | 578 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. |
580 // May return null if WebRTC functionality is not avaliable or out of resour
ces. | 579 // May return null if WebRTC functionality is not avaliable or out of resour
ces. |
581 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe
erConnectionHandlerClient*) { return 0; } | 580 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe
erConnectionHandlerClient*) { return 0; } |
582 | 581 |
583 // May return null if WebRTC functionality is not avaliable or out of resour
ces. | 582 // May return null if WebRTC functionality is not avaliable or out of resour
ces. |
584 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl
ient*) { return 0; } | 583 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl
ient*) { return 0; } |
585 | 584 |
586 | 585 |
587 // WebWorker ---------------------------------------------------------- | 586 // WebWorker ---------------------------------------------------------- |
588 | 587 |
589 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } | 588 virtual void didStartWorkerRunLoop() { } |
590 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } | 589 virtual void didStopWorkerRunLoop() { } |
591 | 590 |
592 // WebCrypto ---------------------------------------------------------- | 591 // WebCrypto ---------------------------------------------------------- |
593 | 592 |
594 virtual WebCrypto* crypto() { return 0; } | 593 virtual WebCrypto* crypto() { return 0; } |
595 | 594 |
596 | 595 |
597 // Platform events ----------------------------------------------------- | 596 // Platform events ----------------------------------------------------- |
598 // Device Orientation, Device Motion, Device Light, Battery, Gamepad. | 597 // Device Orientation, Device Motion, Device Light, Battery, Gamepad. |
599 | 598 |
600 // Request the platform to start listening to the events of the specified | 599 // Request the platform to start listening to the events of the specified |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
663 protected: | 662 protected: |
664 BLINK_PLATFORM_EXPORT Platform(); | 663 BLINK_PLATFORM_EXPORT Platform(); |
665 virtual ~Platform() { } | 664 virtual ~Platform() { } |
666 | 665 |
667 WebThread* m_mainThread; | 666 WebThread* m_mainThread; |
668 }; | 667 }; |
669 | 668 |
670 } // namespace blink | 669 } // namespace blink |
671 | 670 |
672 #endif | 671 #endif |
OLD | NEW |