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

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

Issue 1625473002: compositor-worker: blink->cc plumbing Base URL: https://chromium.googlesource.com/chromium/src.git@upstream-compositor-worker
Patch Set: Merge with landing of https://codereview.chromium.org/1599673002/ on master Created 4 years, 10 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
« no previous file with comments | « cc/trees/threaded_channel.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 const blink::WebLayer* outerViewportScrollLayer) override; 134 const blink::WebLayer* outerViewportScrollLayer) override;
135 void clearViewportLayers() override; 135 void clearViewportLayers() override;
136 void registerSelection(const blink::WebSelection& selection) override; 136 void registerSelection(const blink::WebSelection& selection) override;
137 void clearSelection() override; 137 void clearSelection() override;
138 int layerTreeId() const override; 138 int layerTreeId() const override;
139 void setShowFPSCounter(bool show) override; 139 void setShowFPSCounter(bool show) override;
140 void setShowPaintRects(bool show) override; 140 void setShowPaintRects(bool show) override;
141 void setShowDebugBorders(bool show) override; 141 void setShowDebugBorders(bool show) override;
142 void setShowScrollBottleneckRects(bool show) override; 142 void setShowScrollBottleneckRects(bool show) override;
143 143
144 void setMutatorClient(blink::WebCompositorMutatorClient*) override;
145
144 void updateTopControlsState(blink::WebTopControlsState constraints, 146 void updateTopControlsState(blink::WebTopControlsState constraints,
145 blink::WebTopControlsState current, 147 blink::WebTopControlsState current,
146 bool animate) override; 148 bool animate) override;
147 void setTopControlsHeight(float height, bool shrink) override; 149 void setTopControlsHeight(float height, bool shrink) override;
148 void setTopControlsShownRatio(float) override; 150 void setTopControlsShownRatio(float) override;
149 151
150 // cc::LayerTreeHostClient implementation. 152 // cc::LayerTreeHostClient implementation.
151 void WillBeginMainFrame() override; 153 void WillBeginMainFrame() override;
152 void DidBeginMainFrame() override; 154 void DidBeginMainFrame() override;
153 void BeginMainFrame(const cc::BeginFrameArgs& args) override; 155 void BeginMainFrame(const cc::BeginFrameArgs& args) override;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 211 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
210 212
211 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 213 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
212 214
213 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 215 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
214 }; 216 };
215 217
216 } // namespace content 218 } // namespace content
217 219
218 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 220 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « cc/trees/threaded_channel.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698