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

Unified Diff: content/public/browser/android/synchronous_compositor.h

Issue 406683003: aw: Expose record document as public api (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « content/browser/android/in_process/synchronous_compositor_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/android/synchronous_compositor.h
diff --git a/content/public/browser/android/synchronous_compositor.h b/content/public/browser/android/synchronous_compositor.h
index 2bec50fa949874465c82d01315904d50ceacc33e..62485f155f8bc2cd759eb3b69e8b3d5f3ca78dd1 100644
--- a/content/public/browser/android/synchronous_compositor.h
+++ b/content/public/browser/android/synchronous_compositor.h
@@ -64,9 +64,10 @@ class CONTENT_EXPORT SynchronousCompositor {
scoped_refptr<gpu::InProcessCommandBuffer::Service> service);
// By default, synchronous compopsitor records the full layer, not only
- // what is inside and around the view port. Call this on start up to revert
- // to default behavior when synchronous compositor is not used.
- static void DisableRecordFullLayer();
+ // what is inside and around the view port. This can be used to switch
+ // between this record-full-layer behavior and normal record-around-viewport
+ // behavior.
+ static void SetRecordFullDocument(bool record_full_document);
// Synchronously initialize compositor for hardware draw. Can only be called
// while compositor is in software only mode, either after compositor is
« no previous file with comments | « content/browser/android/in_process/synchronous_compositor_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698