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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 class WebDatabaseObserver; | 71 class WebDatabaseObserver; |
72 class WebPlatformEventListener; | 72 class WebPlatformEventListener; |
73 class WebFallbackThemeEngine; | 73 class WebFallbackThemeEngine; |
74 class WebFileSystem; | 74 class WebFileSystem; |
75 class WebFileUtilities; | 75 class WebFileUtilities; |
76 class WebFlingAnimator; | 76 class WebFlingAnimator; |
77 class WebGeofencingProvider; | 77 class WebGeofencingProvider; |
78 class WebGestureCurve; | 78 class WebGestureCurve; |
79 class WebGraphicsContext3DProvider; | 79 class WebGraphicsContext3DProvider; |
80 class WebIDBFactory; | 80 class WebIDBFactory; |
| 81 class WebImageCaptureFrameGrabber; |
81 class WebInstalledApp; | 82 class WebInstalledApp; |
82 class WebMIDIAccessor; | 83 class WebMIDIAccessor; |
83 class WebMIDIAccessorClient; | 84 class WebMIDIAccessorClient; |
84 class WebMediaPlayer; | 85 class WebMediaPlayer; |
85 class WebMediaRecorderHandler; | 86 class WebMediaRecorderHandler; |
86 class WebMediaStream; | 87 class WebMediaStream; |
87 class WebMediaStreamCenter; | 88 class WebMediaStreamCenter; |
88 class WebMediaStreamCenterClient; | 89 class WebMediaStreamCenterClient; |
89 class WebMediaStreamTrack; | 90 class WebMediaStreamTrack; |
90 class WebMemoryDumpProvider; | 91 class WebMemoryDumpProvider; |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 virtual WebCompositorSupport* compositorSupport() { return nullptr; } | 493 virtual WebCompositorSupport* compositorSupport() { return nullptr; } |
493 | 494 |
494 virtual WebFlingAnimator* createFlingAnimator() { return nullptr; } | 495 virtual WebFlingAnimator* createFlingAnimator() { return nullptr; } |
495 | 496 |
496 // Creates a new fling animation curve instance for device |deviceSource| | 497 // Creates a new fling animation curve instance for device |deviceSource| |
497 // with |velocity| and already scrolled |cumulativeScroll| pixels. | 498 // with |velocity| and already scrolled |cumulativeScroll| pixels. |
498 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo
urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return n
ullptr; } | 499 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo
urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return n
ullptr; } |
499 | 500 |
500 // WebRTC ---------------------------------------------------------- | 501 // WebRTC ---------------------------------------------------------- |
501 | 502 |
502 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. | 503 // Creates a WebRTCPeerConnectionHandler for RTCPeerConnection. |
503 // May return null if WebRTC functionality is not avaliable or if it's out o
f resources. | 504 // May return null if WebRTC functionality is not avaliable or if it's out o
f resources. |
504 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe
erConnectionHandlerClient*) { return nullptr; } | 505 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe
erConnectionHandlerClient*) { return nullptr; } |
505 | 506 |
506 // Creates an WebMediaRecorderHandler to record MediaStreams. | 507 // Creates a WebMediaRecorderHandler to record MediaStreams. |
507 // May return null if the functionality is not available or out of resources
. | 508 // May return null if the functionality is not available or out of resources
. |
508 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp
tr; } | 509 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp
tr; } |
509 | 510 |
510 // May return null if WebRTC functionality is not available or out of resour
ces. | 511 // May return null if WebRTC functionality is not available or out of resour
ces. |
511 virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return
nullptr; } | 512 virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return
nullptr; } |
512 | 513 |
513 // May return null if WebRTC functionality is not available or out of resour
ces. | 514 // May return null if WebRTC functionality is not available or out of resour
ces. |
514 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl
ient*) { return nullptr; } | 515 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl
ient*) { return nullptr; } |
515 | 516 |
516 // Creates an WebCanvasCaptureHandler to capture Canvas output. | 517 // Creates a WebCanvasCaptureHandler to capture Canvas output. |
517 virtual WebCanvasCaptureHandler* createCanvasCaptureHandler(const WebSize&,
double, WebMediaStreamTrack*) { return nullptr; } | 518 virtual WebCanvasCaptureHandler* createCanvasCaptureHandler(const WebSize&,
double, WebMediaStreamTrack*) { return nullptr; } |
518 | 519 |
519 // Fills in the WebMediaStream to capture from the WebMediaPlayer identified | 520 // Fills in the WebMediaStream to capture from the WebMediaPlayer identified |
520 // by the second parameter. | 521 // by the second parameter. |
521 virtual void createHTMLVideoElementCapturer(WebMediaStream*, WebMediaPlayer*
) {} | 522 virtual void createHTMLVideoElementCapturer(WebMediaStream*, WebMediaPlayer*
) {} |
522 | 523 |
| 524 // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Track
s. |
| 525 // May return null if the functionality is not available. |
| 526 virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { retu
rn nullptr; } |
| 527 |
523 // WebWorker ---------------------------------------------------------- | 528 // WebWorker ---------------------------------------------------------- |
524 | 529 |
525 virtual void didStartWorkerThread() { } | 530 virtual void didStartWorkerThread() { } |
526 virtual void willStopWorkerThread() { } | 531 virtual void willStopWorkerThread() { } |
527 | 532 |
528 // WebCrypto ---------------------------------------------------------- | 533 // WebCrypto ---------------------------------------------------------- |
529 | 534 |
530 virtual WebCrypto* crypto() { return nullptr; } | 535 virtual WebCrypto* crypto() { return nullptr; } |
531 | 536 |
532 // Mojo --------------------------------------------------------------- | 537 // Mojo --------------------------------------------------------------- |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 protected: | 622 protected: |
618 Platform(); | 623 Platform(); |
619 virtual ~Platform() { } | 624 virtual ~Platform() { } |
620 | 625 |
621 WebThread* m_mainThread; | 626 WebThread* m_mainThread; |
622 }; | 627 }; |
623 | 628 |
624 } // namespace blink | 629 } // namespace blink |
625 | 630 |
626 #endif | 631 #endif |
OLD | NEW |