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

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

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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 // 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 TimedCanvasDrawListener_h 5 #ifndef TimedCanvasDrawListener_h
6 #define TimedCanvasDrawListener_h 6 #define TimedCanvasDrawListener_h
7 7
8 #include <memory>
8 #include "core/html/canvas/CanvasDrawListener.h" 9 #include "core/html/canvas/CanvasDrawListener.h"
9 #include "platform/Timer.h" 10 #include "platform/Timer.h"
10 #include "platform/heap/Handle.h" 11 #include "platform/heap/Handle.h"
11 #include "public/platform/WebCanvasCaptureHandler.h" 12 #include "public/platform/WebCanvasCaptureHandler.h"
12 #include "third_party/skia/include/core/SkRefCnt.h" 13 #include "third_party/skia/include/core/SkRefCnt.h"
13 #include <memory>
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class TimedCanvasDrawListener final 17 class TimedCanvasDrawListener final
18 : public GarbageCollectedFinalized<TimedCanvasDrawListener>, 18 : public GarbageCollectedFinalized<TimedCanvasDrawListener>,
19 public CanvasDrawListener { 19 public CanvasDrawListener {
20 USING_GARBAGE_COLLECTED_MIXIN(TimedCanvasDrawListener); 20 USING_GARBAGE_COLLECTED_MIXIN(TimedCanvasDrawListener);
21 21
22 public: 22 public:
23 ~TimedCanvasDrawListener(); 23 ~TimedCanvasDrawListener();
(...skipping 10 matching lines...) Expand all
34 // Implementation of TimerFiredFunction. 34 // Implementation of TimerFiredFunction.
35 void RequestFrameTimerFired(TimerBase*); 35 void RequestFrameTimerFired(TimerBase*);
36 36
37 double frame_interval_; 37 double frame_interval_;
38 UnthrottledThreadTimer<TimedCanvasDrawListener> request_frame_timer_; 38 UnthrottledThreadTimer<TimedCanvasDrawListener> request_frame_timer_;
39 }; 39 };
40 40
41 } // namespace blink 41 } // namespace blink
42 42
43 #endif 43 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698