Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: content/browser/android/synchronous_compositor_base.cc

Issue 1844843002: android: Remove in-process video path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove commented out code + rebase again Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/browser/android/synchronous_compositor_base.h ('k') | content/browser/android/synchronous_compositor_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698