Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: public/platform/Platform.h

Issue 1255873002: MediaRecorder Blink part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 class WebFallbackThemeEngine; 75 class WebFallbackThemeEngine;
76 class WebFileSystem; 76 class WebFileSystem;
77 class WebFileUtilities; 77 class WebFileUtilities;
78 class WebFlingAnimator; 78 class WebFlingAnimator;
79 class WebGeofencingProvider; 79 class WebGeofencingProvider;
80 class WebGestureCurve; 80 class WebGestureCurve;
81 class WebGraphicsContext3DProvider; 81 class WebGraphicsContext3DProvider;
82 class WebIDBFactory; 82 class WebIDBFactory;
83 class WebMIDIAccessor; 83 class WebMIDIAccessor;
84 class WebMIDIAccessorClient; 84 class WebMIDIAccessorClient;
85 class WebMediaRecorderHandler;
86 class WebMediaRecorderHandlerClient;
Peter Beverloo 2015/07/29 16:54:23 Should the client be passed in createMediaRecorder
mcasas 2015/07/30 13:20:37 The current M.O. is: WebMediaRecorderHandler* hand
85 class WebMediaStreamCenter; 87 class WebMediaStreamCenter;
86 class WebMediaStreamCenterClient; 88 class WebMediaStreamCenterClient;
87 class WebMemoryDumpProvider; 89 class WebMemoryDumpProvider;
88 class WebMessagePortChannel; 90 class WebMessagePortChannel;
89 class WebMimeRegistry; 91 class WebMimeRegistry;
90 class WebNavigatorConnectProvider; 92 class WebNavigatorConnectProvider;
91 class WebNotificationManager; 93 class WebNotificationManager;
92 class WebPermissionClient; 94 class WebPermissionClient;
93 class WebPluginListBuilder; 95 class WebPluginListBuilder;
94 class WebPrescientNetworking; 96 class WebPrescientNetworking;
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 // Creates a new fling animation curve instance for device |deviceSource| 618 // Creates a new fling animation curve instance for device |deviceSource|
617 // with |velocity| and already scrolled |cumulativeScroll| pixels. 619 // with |velocity| and already scrolled |cumulativeScroll| pixels.
618 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return n ullptr; } 620 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return n ullptr; }
619 621
620 // WebRTC ---------------------------------------------------------- 622 // WebRTC ----------------------------------------------------------
621 623
622 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. 624 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection.
623 // May return null if WebRTC functionality is not avaliable or out of resour ces. 625 // May return null if WebRTC functionality is not avaliable or out of resour ces.
624 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return nullptr; } 626 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return nullptr; }
625 627
628 // Creates an WebMediaRecorderHandler to record MediaStreams.
629 // May return null if the functionality is not available or out of resources .
630 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp tr; }
631
626 // May return null if WebRTC functionality is not avaliable or out of resour ces. 632 // May return null if WebRTC functionality is not avaliable or out of resour ces.
627 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; } 633 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; }
628 634
629
630 // WebWorker ---------------------------------------------------------- 635 // WebWorker ----------------------------------------------------------
631 636
632 virtual void didStartWorkerRunLoop() { } 637 virtual void didStartWorkerRunLoop() { }
633 virtual void didStopWorkerRunLoop() { } 638 virtual void didStopWorkerRunLoop() { }
634 639
635 // WebCrypto ---------------------------------------------------------- 640 // WebCrypto ----------------------------------------------------------
636 641
637 virtual WebCrypto* crypto() { return nullptr; } 642 virtual WebCrypto* crypto() { return nullptr; }
638 643
639 644
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 protected: 737 protected:
733 BLINK_PLATFORM_EXPORT Platform(); 738 BLINK_PLATFORM_EXPORT Platform();
734 virtual ~Platform() { } 739 virtual ~Platform() { }
735 740
736 WebThread* m_mainThread; 741 WebThread* m_mainThread;
737 }; 742 };
738 743
739 } // namespace blink 744 } // namespace blink
740 745
741 #endif 746 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698