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

Side by Side Diff: third_party/WebKit/Source/modules/mediacapturefromelement/AutoCanvasDrawListener.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 AutoCanvasDrawListener_h 5 #ifndef AutoCanvasDrawListener_h
6 #define AutoCanvasDrawListener_h 6 #define AutoCanvasDrawListener_h
7 7
8 #include <memory>
8 #include "core/html/canvas/CanvasDrawListener.h" 9 #include "core/html/canvas/CanvasDrawListener.h"
9 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
10 #include "public/platform/WebCanvasCaptureHandler.h" 11 #include "public/platform/WebCanvasCaptureHandler.h"
11 #include <memory>
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class AutoCanvasDrawListener final 15 class AutoCanvasDrawListener final
16 : public GarbageCollectedFinalized<AutoCanvasDrawListener>, 16 : public GarbageCollectedFinalized<AutoCanvasDrawListener>,
17 public CanvasDrawListener { 17 public CanvasDrawListener {
18 USING_GARBAGE_COLLECTED_MIXIN(AutoCanvasDrawListener); 18 USING_GARBAGE_COLLECTED_MIXIN(AutoCanvasDrawListener);
19 19
20 public: 20 public:
21 static AutoCanvasDrawListener* Create( 21 static AutoCanvasDrawListener* Create(
22 std::unique_ptr<WebCanvasCaptureHandler>); 22 std::unique_ptr<WebCanvasCaptureHandler>);
23 ~AutoCanvasDrawListener() {} 23 ~AutoCanvasDrawListener() {}
24 24
25 DEFINE_INLINE_TRACE() {} 25 DEFINE_INLINE_TRACE() {}
26 26
27 private: 27 private:
28 AutoCanvasDrawListener(std::unique_ptr<WebCanvasCaptureHandler>); 28 AutoCanvasDrawListener(std::unique_ptr<WebCanvasCaptureHandler>);
29 }; 29 };
30 30
31 } // namespace blink 31 } // namespace blink
32 32
33 #endif 33 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698