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

Side by Side Diff: content/browser/renderer_host/delegated_frame_host.h

Issue 1841083007: Remove SendBeginFramesToChildren plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheduler_output_surface_client_set_beginframesource
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 unified diff | Download patch
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 #ifndef CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 int output_surface_id, 66 int output_surface_id,
67 const cc::CompositorFrameAck& ack) = 0; 67 const cc::CompositorFrameAck& ack) = 0;
68 virtual void DelegatedFrameHostSendReclaimCompositorResources( 68 virtual void DelegatedFrameHostSendReclaimCompositorResources(
69 int output_surface_id, 69 int output_surface_id,
70 const cc::CompositorFrameAck& ack) = 0; 70 const cc::CompositorFrameAck& ack) = 0;
71 virtual void DelegatedFrameHostOnLostCompositorResources() = 0; 71 virtual void DelegatedFrameHostOnLostCompositorResources() = 0;
72 72
73 virtual void DelegatedFrameHostUpdateVSyncParameters( 73 virtual void DelegatedFrameHostUpdateVSyncParameters(
74 const base::TimeTicks& timebase, 74 const base::TimeTicks& timebase,
75 const base::TimeDelta& interval) = 0; 75 const base::TimeDelta& interval) = 0;
76 virtual void SetBeginFrameSource(cc::BeginFrameSource* source) = 0;
76 }; 77 };
77 78
78 // The DelegatedFrameHost is used to host all of the RenderWidgetHostView state 79 // The DelegatedFrameHost is used to host all of the RenderWidgetHostView state
79 // and functionality that is associated with delegated frames being sent from 80 // and functionality that is associated with delegated frames being sent from
80 // the RenderWidget. The DelegatedFrameHost will push these changes through to 81 // the RenderWidget. The DelegatedFrameHost will push these changes through to
81 // the ui::Compositor associated with its DelegatedFrameHostClient. 82 // the ui::Compositor associated with its DelegatedFrameHostClient.
82 class CONTENT_EXPORT DelegatedFrameHost 83 class CONTENT_EXPORT DelegatedFrameHost
83 : public ui::CompositorObserver, 84 : public ui::CompositorObserver,
84 public ui::CompositorVSyncManager::Observer, 85 public ui::CompositorVSyncManager::Observer,
85 public ui::LayerOwnerDelegate, 86 public ui::LayerOwnerDelegate,
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 316
316 // YUV readback pipeline. 317 // YUV readback pipeline.
317 std::unique_ptr<content::ReadbackYUVInterface> yuv_readback_pipeline_; 318 std::unique_ptr<content::ReadbackYUVInterface> yuv_readback_pipeline_;
318 319
319 std::unique_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; 320 std::unique_ptr<DelegatedFrameEvictor> delegated_frame_evictor_;
320 }; 321 };
321 322
322 } // namespace content 323 } // namespace content
323 324
324 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_ 325 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698