| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "content/browser/android/synchronous_compositor_base.h" | 5 #include "content/browser/android/synchronous_compositor_base.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
| 9 #include "base/supports_user_data.h" | 9 #include "base/supports_user_data.h" |
| 10 #include "content/browser/android/in_process/synchronous_compositor_factory_impl
.h" | |
| 11 #include "content/browser/android/in_process/synchronous_compositor_impl.h" | 10 #include "content/browser/android/in_process/synchronous_compositor_impl.h" |
| 12 #include "content/browser/android/synchronous_compositor_host.h" | 11 #include "content/browser/android/synchronous_compositor_host.h" |
| 13 #include "content/browser/gpu/gpu_process_host.h" | 12 #include "content/browser/gpu/gpu_process_host.h" |
| 14 #include "content/browser/web_contents/web_contents_android.h" | 13 #include "content/browser/web_contents/web_contents_android.h" |
| 15 #include "content/browser/web_contents/web_contents_impl.h" | 14 #include "content/browser/web_contents/web_contents_impl.h" |
| 16 #include "content/gpu/in_process_gpu_thread.h" | 15 #include "content/gpu/in_process_gpu_thread.h" |
| 17 #include "content/public/common/content_switches.h" | 16 #include "content/public/common/content_switches.h" |
| 18 | 17 |
| 19 namespace content { | 18 namespace content { |
| 20 | 19 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 command_line->HasSwitch(switches::kSingleProcess); | 72 command_line->HasSwitch(switches::kSingleProcess); |
| 74 return base::WrapUnique(new SynchronousCompositorHost( | 73 return base::WrapUnique(new SynchronousCompositorHost( |
| 75 rwhva, web_contents_android->synchronous_compositor_client(), | 74 rwhva, web_contents_android->synchronous_compositor_client(), |
| 76 async_input, use_in_proc_software_draw)); | 75 async_input, use_in_proc_software_draw)); |
| 77 } | 76 } |
| 78 return base::WrapUnique(new SynchronousCompositorImpl( | 77 return base::WrapUnique(new SynchronousCompositorImpl( |
| 79 rwhva, web_contents_android->synchronous_compositor_client())); | 78 rwhva, web_contents_android->synchronous_compositor_client())); |
| 80 } | 79 } |
| 81 | 80 |
| 82 } // namespace content | 81 } // namespace content |
| OLD | NEW |