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

Unified Diff: content/browser/android/in_process/synchronous_compositor_factory_impl.h

Issue 389973005: Merge 280970 "Add switch to disable recording whole document" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2062/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
Index: content/browser/android/in_process/synchronous_compositor_factory_impl.h
===================================================================
--- content/browser/android/in_process/synchronous_compositor_factory_impl.h (revision 283005)
+++ content/browser/android/in_process/synchronous_compositor_factory_impl.h (working copy)
@@ -32,6 +32,7 @@
// SynchronousCompositorFactory
virtual scoped_refptr<base::MessageLoopProxy> GetCompositorMessageLoop()
OVERRIDE;
+ virtual bool RecordFullLayer() OVERRIDE;
virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(int routing_id)
OVERRIDE;
virtual InputHandlerManagerClient* GetInputHandlerManagerClient() OVERRIDE;
@@ -49,6 +50,7 @@
void SetDeferredGpuService(
scoped_refptr<gpu::InProcessCommandBuffer::Service> service);
+ void DisableRecordFullLayer();
void CompositorInitializedHardwareDraw();
void CompositorReleasedHardwareDraw();
@@ -71,6 +73,8 @@
scoped_refptr<StreamTextureFactorySynchronousImpl::ContextProvider>
video_context_provider_;
+ bool record_full_layer_;
+
// |num_hardware_compositor_lock_| is updated on UI thread only but can be
// read on renderer main thread.
base::Lock num_hardware_compositor_lock_;
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | content/browser/android/in_process/synchronous_compositor_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698