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

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

Issue 2383263002: Generalize layer mirroring for phantom windows (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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 void OnCompositingAborted(ui::Compositor* compositor) override; 102 void OnCompositingAborted(ui::Compositor* compositor) override;
103 void OnCompositingLockStateChanged(ui::Compositor* compositor) override; 103 void OnCompositingLockStateChanged(ui::Compositor* compositor) override;
104 void OnCompositingShuttingDown(ui::Compositor* compositor) override; 104 void OnCompositingShuttingDown(ui::Compositor* compositor) override;
105 105
106 // ui::CompositorVSyncManager::Observer implementation. 106 // ui::CompositorVSyncManager::Observer implementation.
107 void OnUpdateVSyncParameters(base::TimeTicks timebase, 107 void OnUpdateVSyncParameters(base::TimeTicks timebase,
108 base::TimeDelta interval) override; 108 base::TimeDelta interval) override;
109 109
110 // ui::LayerOwnerObserver implementation. 110 // ui::LayerOwnerObserver implementation.
111 void OnLayerRecreated(ui::Layer* old_layer, ui::Layer* new_layer) override; 111 void OnLayerRecreated(ui::Layer* old_layer, ui::Layer* new_layer) override;
112 void OnLayerMirrored(ui::Layer* mirror) override;
112 113
113 // ImageTransportFactoryObserver implementation. 114 // ImageTransportFactoryObserver implementation.
114 void OnLostResources() override; 115 void OnLostResources() override;
115 116
116 // DelegatedFrameEvictorClient implementation. 117 // DelegatedFrameEvictorClient implementation.
117 void EvictDelegatedFrame() override; 118 void EvictDelegatedFrame() override;
118 119
119 // cc::SurfaceFactoryClient implementation. 120 // cc::SurfaceFactoryClient implementation.
120 void ReturnResources(const cc::ReturnedResourceArray& resources) override; 121 void ReturnResources(const cc::ReturnedResourceArray& resources) override;
121 void WillDrawSurface(const cc::SurfaceId& id, 122 void WillDrawSurface(const cc::SurfaceId& id,
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 // YUV readback pipeline. 329 // YUV readback pipeline.
329 std::unique_ptr<display_compositor::ReadbackYUVInterface> 330 std::unique_ptr<display_compositor::ReadbackYUVInterface>
330 yuv_readback_pipeline_; 331 yuv_readback_pipeline_;
331 332
332 std::unique_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; 333 std::unique_ptr<DelegatedFrameEvictor> delegated_frame_evictor_;
333 }; 334 };
334 335
335 } // namespace content 336 } // namespace content
336 337
337 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_ 338 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698