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

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: Remove unnecessary scope Created 4 years, 8 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(blink::WebCompositorMutatorClient*) override;
151
150 void updateTopControlsState(blink::WebTopControlsState constraints, 152 void updateTopControlsState(blink::WebTopControlsState constraints,
151 blink::WebTopControlsState current, 153 blink::WebTopControlsState current,
152 bool animate) override; 154 bool animate) override;
153 void setTopControlsHeight(float height, bool shrink) override; 155 void setTopControlsHeight(float height, bool shrink) override;
154 void setTopControlsShownRatio(float) override; 156 void setTopControlsShownRatio(float) override;
155 157
156 // cc::LayerTreeHostClient implementation. 158 // cc::LayerTreeHostClient implementation.
157 void WillBeginMainFrame() override; 159 void WillBeginMainFrame() override;
158 void DidBeginMainFrame() override; 160 void DidBeginMainFrame() override;
159 void BeginMainFrame(const cc::BeginFrameArgs& args) override; 161 void BeginMainFrame(const cc::BeginFrameArgs& args) override;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 219 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
218 220
219 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 221 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
220 222
221 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 223 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
222 }; 224 };
223 225
224 } // namespace content 226 } // namespace content
225 227
226 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 228 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698