OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_2D_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_2D_H_ |
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_2D_H_ | 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_2D_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
15 #include "ppapi/cpp/graphics_2d.h" | 16 #include "ppapi/cpp/graphics_2d.h" |
16 #include "ppapi/cpp/image_data.h" | 17 #include "ppapi/cpp/image_data.h" |
17 #include "ppapi/cpp/point.h" | 18 #include "ppapi/cpp/point.h" |
18 #include "ppapi/cpp/view.h" | 19 #include "ppapi/cpp/view.h" |
19 #include "ppapi/utility/completion_callback_factory.h" | 20 #include "ppapi/utility/completion_callback_factory.h" |
20 #include "remoting/client/frame_consumer.h" | 21 #include "remoting/client/frame_consumer.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 110 |
110 pp::CompletionCallbackFactory<PepperVideoRenderer2D> callback_factory_; | 111 pp::CompletionCallbackFactory<PepperVideoRenderer2D> callback_factory_; |
111 base::WeakPtrFactory<PepperVideoRenderer2D> weak_factory_; | 112 base::WeakPtrFactory<PepperVideoRenderer2D> weak_factory_; |
112 | 113 |
113 DISALLOW_COPY_AND_ASSIGN(PepperVideoRenderer2D); | 114 DISALLOW_COPY_AND_ASSIGN(PepperVideoRenderer2D); |
114 }; | 115 }; |
115 | 116 |
116 } // namespace remoting | 117 } // namespace remoting |
117 | 118 |
118 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_2D_H_ | 119 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_2D_H_ |
OLD | NEW |