| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/ui/renderer_proxy.h" | 5 #include "remoting/client/display/renderer_proxy.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "remoting/client/display/gl_renderer.h" | 9 #include "remoting/client/display/gl_renderer.h" |
| 10 #include "remoting/client/queued_task_poster.h" | 10 #include "remoting/client/queued_task_poster.h" |
| 11 #include "remoting/client/ui/view_matrix.h" | 11 #include "remoting/client/ui/view_matrix.h" |
| 12 | 12 |
| 13 namespace remoting { | 13 namespace remoting { |
| 14 | 14 |
| 15 RendererProxy::RendererProxy( | 15 RendererProxy::RendererProxy( |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 if (needs_synchronization) { | 63 if (needs_synchronization) { |
| 64 ui_task_poster_->AddTask(task); | 64 ui_task_poster_->AddTask(task); |
| 65 return; | 65 return; |
| 66 } | 66 } |
| 67 | 67 |
| 68 task_runner_->PostTask(FROM_HERE, task); | 68 task_runner_->PostTask(FROM_HERE, task); |
| 69 } | 69 } |
| 70 | 70 |
| 71 } // namespace remoting | 71 } // namespace remoting |
| OLD | NEW |