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

Side by Side Diff: android_webview/common/aw_content_client.cc

Issue 1838853005: android: Remove in-process sync compositor code path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_in_proc_video
Patch Set: rebase 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 (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 "android_webview/common/aw_content_client.h" 5 #include "android_webview/common/aw_content_client.h"
6 6
7 #include "android_webview/common/aw_version_info_values.h" 7 #include "android_webview/common/aw_version_info_values.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "content/public/common/content_switches.h" 9 #include "content/public/common/content_switches.h"
10 #include "content/public/common/user_agent.h" 10 #include "content/public/common/user_agent.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 return message->type() == IPC_REPLY_ID; 66 return message->type() == IPC_REPLY_ID;
67 } 67 }
68 68
69 void AwContentClient::SetGpuInfo(const gpu::GPUInfo& gpu_info) { 69 void AwContentClient::SetGpuInfo(const gpu::GPUInfo& gpu_info) {
70 gpu_fingerprint_ = gpu_info.gl_version + '|' + gpu_info.gl_vendor + '|' + 70 gpu_fingerprint_ = gpu_info.gl_version + '|' + gpu_info.gl_vendor + '|' +
71 gpu_info.gl_renderer; 71 gpu_info.gl_renderer;
72 std::replace_if(gpu_fingerprint_.begin(), gpu_fingerprint_.end(), 72 std::replace_if(gpu_fingerprint_.begin(), gpu_fingerprint_.end(),
73 [](char c) { return !::isprint(c); }, '_'); 73 [](char c) { return !::isprint(c); }, '_');
74 } 74 }
75 75
76 bool AwContentClient::UsingSynchronousCompositing() {
77 return true;
78 }
79
76 } // namespace android_webview 80 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698