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

Side by Side Diff: content/browser/android/in_process/synchronous_compositor_factory_impl.cc

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/in_process/synchronous_compositor_factory_impl .h" 5 #include "content/browser/android/in_process/synchronous_compositor_factory_impl .h"
6 6
7 #include "content/browser/android/in_process/synchronous_compositor_output_surfa ce.h" 7 #include "content/browser/android/in_process/synchronous_compositor_output_surfa ce.h"
8 #include "content/public/browser/browser_thread.h" 8 #include "content/public/browser/browser_thread.h"
9 #include "gpu/command_buffer/client/gl_in_process_context.h" 9 #include "gpu/command_buffer/client/gl_in_process_context.h"
10 #include "ui/gl/android/surface_texture.h" 10 #include "ui/gl/android/surface_texture.h"
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 } 252 }
253 return video_context_provider_; 253 return video_context_provider_;
254 } 254 }
255 255
256 void SynchronousCompositorFactoryImpl::SetDeferredGpuService( 256 void SynchronousCompositorFactoryImpl::SetDeferredGpuService(
257 scoped_refptr<gpu::InProcessCommandBuffer::Service> service) { 257 scoped_refptr<gpu::InProcessCommandBuffer::Service> service) {
258 DCHECK(!service_); 258 DCHECK(!service_);
259 service_ = service; 259 service_ = service;
260 } 260 }
261 261
262 void SynchronousCompositorFactoryImpl::DisableRecordFullLayer() { 262 void SynchronousCompositorFactoryImpl::SetRecordFullDocument(
263 record_full_layer_ = false; 263 bool record_full_document) {
264 record_full_layer_ = record_full_document;
264 } 265 }
265 266
266 } // namespace content 267 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698