| 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 #include "remoting/client/plugin/pepper_video_renderer_2d.h" | 5 #include "remoting/client/plugin/pepper_video_renderer_2d.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 8 |
| 7 #include "base/bind.h" | 9 #include "base/bind.h" |
| 8 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
| 9 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
| 10 #include "base/task_runner_util.h" | 12 #include "base/task_runner_util.h" |
| 11 #include "ppapi/cpp/completion_callback.h" | 13 #include "ppapi/cpp/completion_callback.h" |
| 12 #include "ppapi/cpp/image_data.h" | 14 #include "ppapi/cpp/image_data.h" |
| 13 #include "ppapi/cpp/instance.h" | 15 #include "ppapi/cpp/instance.h" |
| 14 #include "ppapi/cpp/point.h" | 16 #include "ppapi/cpp/point.h" |
| 15 #include "ppapi/cpp/rect.h" | 17 #include "ppapi/cpp/rect.h" |
| 16 #include "ppapi/cpp/size.h" | 18 #include "ppapi/cpp/size.h" |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 flush_pending_ = false; | 217 flush_pending_ = false; |
| 216 | 218 |
| 217 // Call all callbacks for the frames we've just flushed. | 219 // Call all callbacks for the frames we've just flushed. |
| 218 flushing_frames_done_callbacks_.clear(); | 220 flushing_frames_done_callbacks_.clear(); |
| 219 | 221 |
| 220 // Flush again if necessary. | 222 // Flush again if necessary. |
| 221 Flush(); | 223 Flush(); |
| 222 } | 224 } |
| 223 | 225 |
| 224 } // namespace remoting | 226 } // namespace remoting |
| OLD | NEW |