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

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: mlamouri@ comments 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;
85 class WebMediaStreamCenter; 86 class WebMediaStreamCenter;
86 class WebMediaStreamCenterClient; 87 class WebMediaStreamCenterClient;
87 class WebMemoryDumpProvider; 88 class WebMemoryDumpProvider;
88 class WebMessagePortChannel; 89 class WebMessagePortChannel;
89 class WebMimeRegistry; 90 class WebMimeRegistry;
90 class WebNavigatorConnectProvider; 91 class WebNavigatorConnectProvider;
91 class WebNotificationManager; 92 class WebNotificationManager;
92 class WebPermissionClient; 93 class WebPermissionClient;
93 class WebPluginListBuilder; 94 class WebPluginListBuilder;
94 class WebPrescientNetworking; 95 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| 617 // Creates a new fling animation curve instance for device |deviceSource|
617 // with |velocity| and already scrolled |cumulativeScroll| pixels. 618 // with |velocity| and already scrolled |cumulativeScroll| pixels.
618 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return n ullptr; } 619 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return n ullptr; }
619 620
620 // WebRTC ---------------------------------------------------------- 621 // WebRTC ----------------------------------------------------------
621 622
622 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. 623 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection.
623 // May return null if WebRTC functionality is not avaliable or out of resour ces. 624 // May return null if WebRTC functionality is not avaliable or out of resour ces.
624 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return nullptr; } 625 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return nullptr; }
625 626
627 // Creates an WebMediaRecorderHandler to record MediaStreams.
628 // May return null if the functionality is not available or out of resources .
629 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp tr; }
630
626 // May return null if WebRTC functionality is not avaliable or out of resour ces. 631 // May return null if WebRTC functionality is not avaliable or out of resour ces.
627 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; } 632 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; }
628 633
629
630 // WebWorker ---------------------------------------------------------- 634 // WebWorker ----------------------------------------------------------
631 635
632 virtual void didStartWorkerRunLoop() { } 636 virtual void didStartWorkerRunLoop() { }
633 virtual void didStopWorkerRunLoop() { } 637 virtual void didStopWorkerRunLoop() { }
634 638
635 // WebCrypto ---------------------------------------------------------- 639 // WebCrypto ----------------------------------------------------------
636 640
637 virtual WebCrypto* crypto() { return nullptr; } 641 virtual WebCrypto* crypto() { return nullptr; }
638 642
639 643
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 protected: 736 protected:
733 BLINK_PLATFORM_EXPORT Platform(); 737 BLINK_PLATFORM_EXPORT Platform();
734 virtual ~Platform() { } 738 virtual ~Platform() { }
735 739
736 WebThread* m_mainThread; 740 WebThread* m_mainThread;
737 }; 741 };
738 742
739 } // namespace blink 743 } // namespace blink
740 744
741 #endif 745 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698