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

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

Issue 2444563002: cc: Remove "SwapBuffers" naming from LayerTreeHostSingleThreadClient (Closed)
Patch Set: 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 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 public: 93 public:
94 DelegatedFrameHost(const cc::FrameSinkId& frame_sink_id, 94 DelegatedFrameHost(const cc::FrameSinkId& frame_sink_id,
95 DelegatedFrameHostClient* client); 95 DelegatedFrameHostClient* client);
96 ~DelegatedFrameHost() override; 96 ~DelegatedFrameHost() override;
97 97
98 // ui::CompositorObserver implementation. 98 // ui::CompositorObserver implementation.
99 void OnCompositingDidCommit(ui::Compositor* compositor) override; 99 void OnCompositingDidCommit(ui::Compositor* compositor) override;
100 void OnCompositingStarted(ui::Compositor* compositor, 100 void OnCompositingStarted(ui::Compositor* compositor,
101 base::TimeTicks start_time) override; 101 base::TimeTicks start_time) override;
102 void OnCompositingEnded(ui::Compositor* compositor) override; 102 void OnCompositingEnded(ui::Compositor* compositor) override;
103 void OnCompositingAborted(ui::Compositor* compositor) override;
104 void OnCompositingLockStateChanged(ui::Compositor* compositor) override; 103 void OnCompositingLockStateChanged(ui::Compositor* compositor) override;
105 void OnCompositingShuttingDown(ui::Compositor* compositor) override; 104 void OnCompositingShuttingDown(ui::Compositor* compositor) override;
106 105
107 // ui::CompositorVSyncManager::Observer implementation. 106 // ui::CompositorVSyncManager::Observer implementation.
108 void OnUpdateVSyncParameters(base::TimeTicks timebase, 107 void OnUpdateVSyncParameters(base::TimeTicks timebase,
109 base::TimeDelta interval) override; 108 base::TimeDelta interval) override;
110 109
111 // ui::LayerOwnerObserver implementation. 110 // ui::LayerOwnerObserver implementation.
112 void OnLayerRecreated(ui::Layer* old_layer, ui::Layer* new_layer) override; 111 void OnLayerRecreated(ui::Layer* old_layer, ui::Layer* new_layer) override;
113 112
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 // YUV readback pipeline. 337 // YUV readback pipeline.
339 std::unique_ptr<display_compositor::ReadbackYUVInterface> 338 std::unique_ptr<display_compositor::ReadbackYUVInterface>
340 yuv_readback_pipeline_; 339 yuv_readback_pipeline_;
341 340
342 std::unique_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; 341 std::unique_ptr<DelegatedFrameEvictor> delegated_frame_evictor_;
343 }; 342 };
344 343
345 } // namespace content 344 } // namespace content
346 345
347 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_ 346 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698