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

Unified Diff: content/public/common/content_client.h

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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index d7b02300ec2111b213fb12d36fc46987b557ce2e..243afccf4b0b361d539dab0fbddc8c9c8a268c62 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -158,6 +158,13 @@ class CONTENT_EXPORT ContentClient {
// origin trials are not enabled in this context.
virtual base::StringPiece GetOriginTrialPublicKey();
+#if defined(OS_ANDROID)
+ // Returns true for clients like Android WebView that uses synchronous
+ // compositor. Note setting this to true will permit synchronous IPCs from
+ // the browser UI thread.
+ virtual bool UsingSynchronousCompositing();
+#endif // OS_ANDROID
+
private:
friend class ContentClientInitializer; // To set these pointers.
friend class InternalTestInitializer;

Powered by Google App Engine
This is Rietveld 408576698