| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RECTANGLE_UPDATE_DECODER_H_ | 5 #ifndef REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_ |
| 6 #define REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_ | 6 #define REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "remoting/base/decoder.h" | 13 #include "remoting/codec/video_decoder.h" |
| 14 #include "remoting/client/frame_consumer_proxy.h" | 14 #include "remoting/client/frame_consumer_proxy.h" |
| 15 #include "remoting/client/frame_producer.h" | 15 #include "remoting/client/frame_producer.h" |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 class SingleThreadTaskRunner; | 18 class SingleThreadTaskRunner; |
| 19 } // namespace base | 19 } // namespace base |
| 20 | 20 |
| 21 namespace pp { | 21 namespace pp { |
| 22 class ImageData; | 22 class ImageData; |
| 23 }; | 23 }; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 // The drawing buffers supplied by the frame consumer. | 85 // The drawing buffers supplied by the frame consumer. |
| 86 std::list<pp::ImageData*> buffers_; | 86 std::list<pp::ImageData*> buffers_; |
| 87 | 87 |
| 88 // Flag used to coalesce runs of SchedulePaint()s into a single DoPaint(). | 88 // Flag used to coalesce runs of SchedulePaint()s into a single DoPaint(). |
| 89 bool paint_scheduled_; | 89 bool paint_scheduled_; |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace remoting | 92 } // namespace remoting |
| 93 | 93 |
| 94 #endif // REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_ | 94 #endif // REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_ |
| OLD | NEW |