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

Side by Side Diff: third_party/WebKit/Source/modules/mediacapturefromelement/HTMLCanvasElementCapture.h

Issue 1508023002: Add TimedCanvasDrawListener (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@spec-change
Patch Set: esprehn@ comments. 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef HTMLCanvasElementCapture_h 5 #ifndef HTMLCanvasElementCapture_h
6 #define HTMLCanvasElementCapture_h 6 #define HTMLCanvasElementCapture_h
7 7
8 #include "core/html/HTMLCanvasElement.h" 8 #include "core/html/HTMLCanvasElement.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/Allocator.h" 10 #include "wtf/Allocator.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class MediaStream; 14 class MediaStream;
15 class ExceptionState; 15 class ExceptionState;
16 16
17 class HTMLCanvasElementCapture { 17 class HTMLCanvasElementCapture {
18 STATIC_ONLY(HTMLCanvasElementCapture); 18 STATIC_ONLY(HTMLCanvasElementCapture);
19 public: 19 public:
20 static MediaStream* captureStream(HTMLCanvasElement&, ExceptionState&); 20 static MediaStream* captureStream(HTMLCanvasElement&, ExceptionState&);
21 static MediaStream* captureStream(HTMLCanvasElement&, double frameRate, Exce ptionState&);
22 private:
23 static MediaStream* captureStream(HTMLCanvasElement&, bool givenFrameRate, d ouble frameRate, ExceptionState&);
24
21 }; 25 };
22 26
23 } // namespace blink 27 } // namespace blink
24 28
25 #endif 29 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698