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

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

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename to StubCompositorMutator. Created 4 years, 7 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 blink::WebEventListenerProperties eventListenerProperties( 140 blink::WebEventListenerProperties eventListenerProperties(
141 blink::WebEventListenerClass eventClass) const override; 141 blink::WebEventListenerClass eventClass) const override;
142 void setHaveScrollEventHandlers(bool) override; 142 void setHaveScrollEventHandlers(bool) override;
143 bool haveScrollEventHandlers() const override; 143 bool haveScrollEventHandlers() const override;
144 int layerTreeId() const override; 144 int layerTreeId() const override;
145 void setShowFPSCounter(bool show) override; 145 void setShowFPSCounter(bool show) override;
146 void setShowPaintRects(bool show) override; 146 void setShowPaintRects(bool show) override;
147 void setShowDebugBorders(bool show) override; 147 void setShowDebugBorders(bool show) override;
148 void setShowScrollBottleneckRects(bool show) override; 148 void setShowScrollBottleneckRects(bool show) override;
149 149
150 void setMutatorClient(
151 std::unique_ptr<blink::WebCompositorMutatorClient>) override;
152
150 void updateTopControlsState(blink::WebTopControlsState constraints, 153 void updateTopControlsState(blink::WebTopControlsState constraints,
151 blink::WebTopControlsState current, 154 blink::WebTopControlsState current,
152 bool animate) override; 155 bool animate) override;
153 void setTopControlsHeight(float height, bool shrink) override; 156 void setTopControlsHeight(float height, bool shrink) override;
154 void setTopControlsShownRatio(float) override; 157 void setTopControlsShownRatio(float) override;
155 158
156 // cc::LayerTreeHostClient implementation. 159 // cc::LayerTreeHostClient implementation.
157 void WillBeginMainFrame() override; 160 void WillBeginMainFrame() override;
158 void DidBeginMainFrame() override; 161 void DidBeginMainFrame() override;
159 void BeginMainFrame(const cc::BeginFrameArgs& args) override; 162 void BeginMainFrame(const cc::BeginFrameArgs& args) override;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 215 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
213 216
214 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 217 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
215 218
216 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 219 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
217 }; 220 };
218 221
219 } // namespace content 222 } // namespace content
220 223
221 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 224 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698