| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 class WebNavigatorConnectProvider; | 91 class WebNavigatorConnectProvider; |
| 92 class WebNotificationManager; | 92 class WebNotificationManager; |
| 93 class WebPermissionClient; | 93 class WebPermissionClient; |
| 94 class WebPluginListBuilder; | 94 class WebPluginListBuilder; |
| 95 class WebPrescientNetworking; | 95 class WebPrescientNetworking; |
| 96 class WebPublicSuffixList; | 96 class WebPublicSuffixList; |
| 97 class WebPushProvider; | 97 class WebPushProvider; |
| 98 class WebRTCPeerConnectionHandler; | 98 class WebRTCPeerConnectionHandler; |
| 99 class WebRTCPeerConnectionHandlerClient; | 99 class WebRTCPeerConnectionHandlerClient; |
| 100 class WebSandboxSupport; | 100 class WebSandboxSupport; |
| 101 class WebScheduler; | |
| 102 class WebSecurityOrigin; | 101 class WebSecurityOrigin; |
| 103 class WebScrollbarBehavior; | 102 class WebScrollbarBehavior; |
| 104 class WebServiceWorkerCacheStorage; | 103 class WebServiceWorkerCacheStorage; |
| 105 class WebSocketHandle; | 104 class WebSocketHandle; |
| 106 class WebSpeechSynthesizer; | 105 class WebSpeechSynthesizer; |
| 107 class WebSpeechSynthesizerClient; | 106 class WebSpeechSynthesizerClient; |
| 108 class WebStorageNamespace; | 107 class WebStorageNamespace; |
| 109 class WebSyncProvider; | 108 class WebSyncProvider; |
| 110 struct WebFloatPoint; | 109 struct WebFloatPoint; |
| 111 class WebThemeEngine; | 110 class WebThemeEngine; |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 // Creates an embedder-defined thread. | 370 // Creates an embedder-defined thread. |
| 372 virtual WebThread* createThread(const char* name) { return 0; } | 371 virtual WebThread* createThread(const char* name) { return 0; } |
| 373 | 372 |
| 374 // Returns an interface to the current thread. This is owned by the | 373 // Returns an interface to the current thread. This is owned by the |
| 375 // embedder. | 374 // embedder. |
| 376 virtual WebThread* currentThread() { return 0; } | 375 virtual WebThread* currentThread() { return 0; } |
| 377 | 376 |
| 378 // Yield the current thread so another thread can be scheduled. | 377 // Yield the current thread so another thread can be scheduled. |
| 379 virtual void yieldCurrentThread() { } | 378 virtual void yieldCurrentThread() { } |
| 380 | 379 |
| 381 // May return null. | |
| 382 virtual WebScheduler* scheduler() { return 0; } | |
| 383 | |
| 384 // WaitableEvent ------------------------------------------------------- | 380 // WaitableEvent ------------------------------------------------------- |
| 385 | 381 |
| 386 // Creates an embedder-defined waitable event object. | 382 // Creates an embedder-defined waitable event object. |
| 387 virtual WebWaitableEvent* createWaitableEvent() { return 0; } | 383 virtual WebWaitableEvent* createWaitableEvent() { return 0; } |
| 388 | 384 |
| 389 // Waits on multiple events and returns the event object that has been | 385 // Waits on multiple events and returns the event object that has been |
| 390 // signaled. This may return 0 if it fails to wait events. | 386 // signaled. This may return 0 if it fails to wait events. |
| 391 // Any event objects given to this method must not deleted while this | 387 // Any event objects given to this method must not deleted while this |
| 392 // wait is happening. | 388 // wait is happening. |
| 393 virtual WebWaitableEvent* waitMultipleEvents(const WebVector<WebWaitableEven
t*>& events) { return 0; } | 389 virtual WebWaitableEvent* waitMultipleEvents(const WebVector<WebWaitableEven
t*>& events) { return 0; } |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 protected: | 699 protected: |
| 704 BLINK_PLATFORM_EXPORT Platform(); | 700 BLINK_PLATFORM_EXPORT Platform(); |
| 705 virtual ~Platform() { } | 701 virtual ~Platform() { } |
| 706 | 702 |
| 707 WebThread* m_mainThread; | 703 WebThread* m_mainThread; |
| 708 }; | 704 }; |
| 709 | 705 |
| 710 } // namespace blink | 706 } // namespace blink |
| 711 | 707 |
| 712 #endif | 708 #endif |
| OLD | NEW |