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

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

Issue 1467103003: Basic use implementation for MediaStream from Canvas: captureStream() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added new interface to LayoutTests. Created 5 years 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "WebURLError.h" 54 #include "WebURLError.h"
55 #include "WebVector.h" 55 #include "WebVector.h"
56 #include "WebWaitableEvent.h" 56 #include "WebWaitableEvent.h"
57 57
58 class GrContext; 58 class GrContext;
59 59
60 namespace blink { 60 namespace blink {
61 61
62 class WebAudioBus; 62 class WebAudioBus;
63 class WebBlobRegistry; 63 class WebBlobRegistry;
64 class WebCanvasCaptureHandler;
64 class WebClipboard; 65 class WebClipboard;
65 class WebCompositorSupport; 66 class WebCompositorSupport;
66 class WebConvertableToTraceFormat; 67 class WebConvertableToTraceFormat;
67 class WebCookieJar; 68 class WebCookieJar;
68 class WebCrypto; 69 class WebCrypto;
69 class WebDatabaseObserver; 70 class WebDatabaseObserver;
70 class WebDiscardableMemory; 71 class WebDiscardableMemory;
71 class WebPlatformEventListener; 72 class WebPlatformEventListener;
72 class WebFallbackThemeEngine; 73 class WebFallbackThemeEngine;
73 class WebFileSystem; 74 class WebFileSystem;
74 class WebFileUtilities; 75 class WebFileUtilities;
75 class WebFlingAnimator; 76 class WebFlingAnimator;
76 class WebGeofencingProvider; 77 class WebGeofencingProvider;
77 class WebGestureCurve; 78 class WebGestureCurve;
78 class WebGraphicsContext3DProvider; 79 class WebGraphicsContext3DProvider;
79 class WebIDBFactory; 80 class WebIDBFactory;
80 class WebMIDIAccessor; 81 class WebMIDIAccessor;
81 class WebMIDIAccessorClient; 82 class WebMIDIAccessorClient;
82 class WebMediaRecorderHandler; 83 class WebMediaRecorderHandler;
84 class WebMediaStream;
83 class WebMediaStreamCenter; 85 class WebMediaStreamCenter;
84 class WebMediaStreamCenterClient; 86 class WebMediaStreamCenterClient;
85 class WebMemoryDumpProvider; 87 class WebMemoryDumpProvider;
86 class WebMessagePortChannel; 88 class WebMessagePortChannel;
87 class WebMimeRegistry; 89 class WebMimeRegistry;
88 class WebNavigatorConnectProvider; 90 class WebNavigatorConnectProvider;
89 class WebNotificationManager; 91 class WebNotificationManager;
90 class WebPermissionClient; 92 class WebPermissionClient;
91 class WebPluginListBuilder; 93 class WebPluginListBuilder;
92 class WebPrescientNetworking; 94 class WebPrescientNetworking;
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 // Creates an WebMediaRecorderHandler to record MediaStreams. 639 // Creates an WebMediaRecorderHandler to record MediaStreams.
638 // May return null if the functionality is not available or out of resources . 640 // May return null if the functionality is not available or out of resources .
639 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp tr; } 641 virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullp tr; }
640 642
641 // May return null if WebRTC functionality is not avaliable or out of resour ces. 643 // May return null if WebRTC functionality is not avaliable or out of resour ces.
642 virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return nullptr; } 644 virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return nullptr; }
643 645
644 // May return null if WebRTC functionality is not avaliable or out of resour ces. 646 // May return null if WebRTC functionality is not avaliable or out of resour ces.
645 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; } 647 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; }
646 648
649 // Creates an WebCanvasCaptureHandler to capture Canvas output.
650 virtual WebCanvasCaptureHandler* createCanvasCaptureHandler(const WebSize&, double, WebMediaStream*) { return nullptr; }
647 // WebWorker ---------------------------------------------------------- 651 // WebWorker ----------------------------------------------------------
648 652
649 virtual void didStartWorkerRunLoop() { } 653 virtual void didStartWorkerRunLoop() { }
650 virtual void didStopWorkerRunLoop() { } 654 virtual void didStopWorkerRunLoop() { }
651 655
652 // WebCrypto ---------------------------------------------------------- 656 // WebCrypto ----------------------------------------------------------
653 657
654 virtual WebCrypto* crypto() { return nullptr; } 658 virtual WebCrypto* crypto() { return nullptr; }
655 659
656 660
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 protected: 747 protected:
744 BLINK_PLATFORM_EXPORT Platform(); 748 BLINK_PLATFORM_EXPORT Platform();
745 virtual ~Platform() { } 749 virtual ~Platform() { }
746 750
747 WebThread* m_mainThread; 751 WebThread* m_mainThread;
748 }; 752 };
749 753
750 } // namespace blink 754 } // namespace blink
751 755
752 #endif 756 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/platform/WebCanvasCaptureHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698