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

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 DEPS issue and some missing methods 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 void WillBeginMainFrame() override; 149 void WillBeginMainFrame() override;
150 void DidBeginMainFrame() override; 150 void DidBeginMainFrame() override;
151 void BeginMainFrame(const cc::BeginFrameArgs& args) override; 151 void BeginMainFrame(const cc::BeginFrameArgs& args) override;
152 void BeginMainFrameNotExpectedSoon() override; 152 void BeginMainFrameNotExpectedSoon() override;
153 void UpdateLayerTreeHost() override; 153 void UpdateLayerTreeHost() override;
154 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 154 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
155 const gfx::Vector2dF& outer_delta, 155 const gfx::Vector2dF& outer_delta,
156 const gfx::Vector2dF& elastic_overscroll_delta, 156 const gfx::Vector2dF& elastic_overscroll_delta,
157 float page_scale, 157 float page_scale,
158 float top_controls_delta) override; 158 float top_controls_delta) override;
159 void ApplyMutations(const cc::LayerTreeMutations& mutations) override;
159 void RequestNewOutputSurface() override; 160 void RequestNewOutputSurface() override;
160 void DidInitializeOutputSurface() override; 161 void DidInitializeOutputSurface() override;
161 void DidFailToInitializeOutputSurface() override; 162 void DidFailToInitializeOutputSurface() override;
162 void WillCommit() override; 163 void WillCommit() override;
163 void DidCommit() override; 164 void DidCommit() override;
164 void DidCommitAndDrawFrame() override; 165 void DidCommitAndDrawFrame() override;
165 void DidCompleteSwapBuffers() override; 166 void DidCompleteSwapBuffers() override;
166 void DidCompletePageScaleAnimation() override; 167 void DidCompletePageScaleAnimation() override;
167 void RecordFrameTimingEvents( 168 void RecordFrameTimingEvents(
168 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, 169 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 207 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
207 208
208 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 209 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
209 210
210 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 211 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
211 }; 212 };
212 213
213 } // namespace content 214 } // namespace content
214 215
215 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 216 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698