OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_SHELL_RENDERER_LAYOUT_TEST_TEST_VIDEO_FRAME_PROVIDER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_TEST_VIDEO_FRAME_PROVIDER_H_ |
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_TEST_VIDEO_FRAME_PROVIDER_H_ | 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_TEST_VIDEO_FRAME_PROVIDER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/time/time.h" | 9 #include "base/time/time.h" |
9 #include "content/public/renderer/video_frame_provider.h" | 10 #include "content/public/renderer/video_frame_provider.h" |
10 #include "ui/gfx/geometry/size.h" | 11 #include "ui/gfx/geometry/size.h" |
11 | 12 |
12 namespace base { | 13 namespace base { |
13 class SingleThreadTaskRunner; | 14 class SingleThreadTaskRunner; |
14 } | 15 } |
15 | 16 |
16 namespace content { | 17 namespace content { |
17 | 18 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 base::TimeDelta frame_duration_; | 55 base::TimeDelta frame_duration_; |
55 base::Closure error_cb_; | 56 base::Closure error_cb_; |
56 RepaintCB repaint_cb_; | 57 RepaintCB repaint_cb_; |
57 | 58 |
58 DISALLOW_COPY_AND_ASSIGN(TestVideoFrameProvider); | 59 DISALLOW_COPY_AND_ASSIGN(TestVideoFrameProvider); |
59 }; | 60 }; |
60 | 61 |
61 } // namespace content | 62 } // namespace content |
62 | 63 |
63 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_TEST_VIDEO_FRAME_PROVIDER_H_ | 64 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_TEST_VIDEO_FRAME_PROVIDER_H_ |
OLD | NEW |