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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.h

Issue 1602343002: compositor-worker: cc->blink mutation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
Patch Set: Fix blimp issue Created 4 years, 11 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 void WillBeginMainFrame() override; 151 void WillBeginMainFrame() override;
152 void DidBeginMainFrame() override; 152 void DidBeginMainFrame() override;
153 void BeginMainFrame(const cc::BeginFrameArgs& args) override; 153 void BeginMainFrame(const cc::BeginFrameArgs& args) override;
154 void BeginMainFrameNotExpectedSoon() override; 154 void BeginMainFrameNotExpectedSoon() override;
155 void UpdateLayerTreeHost() override; 155 void UpdateLayerTreeHost() override;
156 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 156 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
157 const gfx::Vector2dF& outer_delta, 157 const gfx::Vector2dF& outer_delta,
158 const gfx::Vector2dF& elastic_overscroll_delta, 158 const gfx::Vector2dF& elastic_overscroll_delta,
159 float page_scale, 159 float page_scale,
160 float top_controls_delta) override; 160 float top_controls_delta) override;
161 void ApplyMutations(const cc::LayerTreeMutations& mutations) override;
161 void RequestNewOutputSurface() override; 162 void RequestNewOutputSurface() override;
162 void DidInitializeOutputSurface() override; 163 void DidInitializeOutputSurface() override;
163 void DidFailToInitializeOutputSurface() override; 164 void DidFailToInitializeOutputSurface() override;
164 void WillCommit() override; 165 void WillCommit() override;
165 void DidCommit() override; 166 void DidCommit() override;
166 void DidCommitAndDrawFrame() override; 167 void DidCommitAndDrawFrame() override;
167 void DidCompleteSwapBuffers() override; 168 void DidCompleteSwapBuffers() override;
168 void DidCompletePageScaleAnimation() override; 169 void DidCompletePageScaleAnimation() override;
169 void RecordFrameTimingEvents( 170 void RecordFrameTimingEvents(
170 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, 171 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 209 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
209 210
210 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 211 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
211 212
212 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 213 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
213 }; 214 };
214 215
215 } // namespace content 216 } // namespace content
216 217
217 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 218 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698