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

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: Include WebCompositorMutatorClient from WebLayerTreeView to allow unique_ptr usage. Created 4 years, 6 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 blink::WebCompositeAndReadbackAsyncCallback* callback) override; 127 blink::WebCompositeAndReadbackAsyncCallback* callback) override;
128 void setDeferCommits(bool defer_commits) override; 128 void setDeferCommits(bool defer_commits) override;
129 void registerViewportLayers( 129 void registerViewportLayers(
130 const blink::WebLayer* overscrollElasticityLayer, 130 const blink::WebLayer* overscrollElasticityLayer,
131 const blink::WebLayer* pageScaleLayer, 131 const blink::WebLayer* pageScaleLayer,
132 const blink::WebLayer* innerViewportScrollLayer, 132 const blink::WebLayer* innerViewportScrollLayer,
133 const blink::WebLayer* outerViewportScrollLayer) override; 133 const blink::WebLayer* outerViewportScrollLayer) override;
134 void clearViewportLayers() override; 134 void clearViewportLayers() override;
135 void registerSelection(const blink::WebSelection& selection) override; 135 void registerSelection(const blink::WebSelection& selection) override;
136 void clearSelection() override; 136 void clearSelection() override;
137 void setMutatorClient(
138 std::unique_ptr<blink::WebCompositorMutatorClient>) override;
137 void setEventListenerProperties( 139 void setEventListenerProperties(
138 blink::WebEventListenerClass eventClass, 140 blink::WebEventListenerClass eventClass,
139 blink::WebEventListenerProperties properties) override; 141 blink::WebEventListenerProperties properties) override;
140 blink::WebEventListenerProperties eventListenerProperties( 142 blink::WebEventListenerProperties eventListenerProperties(
141 blink::WebEventListenerClass eventClass) const override; 143 blink::WebEventListenerClass eventClass) const override;
142 void setHaveScrollEventHandlers(bool) override; 144 void setHaveScrollEventHandlers(bool) override;
143 bool haveScrollEventHandlers() const override; 145 bool haveScrollEventHandlers() const override;
144 int layerTreeId() const override; 146 int layerTreeId() const override;
145 void setShowFPSCounter(bool show) override; 147 void setShowFPSCounter(bool show) override;
146 void setShowPaintRects(bool show) override; 148 void setShowPaintRects(bool show) override;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 217 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
216 218
217 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 219 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
218 220
219 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 221 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
220 }; 222 };
221 223
222 } // namespace content 224 } // namespace content
223 225
224 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 226 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « components/scheduler/child/compositor_worker_scheduler.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698