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

Unified Diff: content/renderer/android/synchronous_compositor_frame_sink.h

Issue 2377533002: cc: Remove Display::SetExternalViewport. (Closed)
Patch Set: webview-expand-sw: rebase Created 4 years, 2 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 | « cc/surfaces/display.cc ('k') | content/renderer/android/synchronous_compositor_frame_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/android/synchronous_compositor_frame_sink.h
diff --git a/content/renderer/android/synchronous_compositor_frame_sink.h b/content/renderer/android/synchronous_compositor_frame_sink.h
index 74ad9281b8eff116962cdb87ec4fcac59d0f36d9..62bf8ce625cdedd4dd6353d75052a94ef3244045 100644
--- a/content/renderer/android/synchronous_compositor_frame_sink.h
+++ b/content/renderer/android/synchronous_compositor_frame_sink.h
@@ -148,16 +148,19 @@ class SynchronousCompositorFrameSink
// is owned/destroyed on the compositor thread.
std::unique_ptr<cc::SurfaceManager> surface_manager_;
std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_;
- cc::SurfaceId delegated_surface_id_;
+ cc::SurfaceId root_surface_id_;
+ cc::SurfaceId child_surface_id_;
// Uses surface_manager_.
std::unique_ptr<cc::SurfaceFactory> surface_factory_;
StubDisplayClient display_client_;
// Uses surface_manager_.
std::unique_ptr<cc::Display> display_;
// Owned by |display_|.
- SoftwareOutputSurface* software_compositor_frame_sink_ = nullptr;
+ SoftwareOutputSurface* software_output_surface_ = nullptr;
std::unique_ptr<cc::BeginFrameSource> begin_frame_source_;
+ gfx::Rect sw_viewport_for_current_draw_;
+
base::ThreadChecker thread_checker_;
DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorFrameSink);
« no previous file with comments | « cc/surfaces/display.cc ('k') | content/renderer/android/synchronous_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698