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

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

Issue 2113483002: Make RootScroller set the outer viewport scroll layer in the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 blink::WebLayoutAndPaintAsyncCallback* callback) override; 132 blink::WebLayoutAndPaintAsyncCallback* callback) override;
133 void compositeAndReadbackAsync( 133 void compositeAndReadbackAsync(
134 blink::WebCompositeAndReadbackAsyncCallback* callback) override; 134 blink::WebCompositeAndReadbackAsyncCallback* callback) override;
135 void setDeferCommits(bool defer_commits) override; 135 void setDeferCommits(bool defer_commits) override;
136 void registerViewportLayers( 136 void registerViewportLayers(
137 const blink::WebLayer* overscrollElasticityLayer, 137 const blink::WebLayer* overscrollElasticityLayer,
138 const blink::WebLayer* pageScaleLayer, 138 const blink::WebLayer* pageScaleLayer,
139 const blink::WebLayer* innerViewportScrollLayer, 139 const blink::WebLayer* innerViewportScrollLayer,
140 const blink::WebLayer* outerViewportScrollLayer) override; 140 const blink::WebLayer* outerViewportScrollLayer) override;
141 void clearViewportLayers() override; 141 void clearViewportLayers() override;
142 void setRootScrollerLayer(const blink::WebLayer* rootScrollerLayer) override;
142 void registerSelection(const blink::WebSelection& selection) override; 143 void registerSelection(const blink::WebSelection& selection) override;
143 void clearSelection() override; 144 void clearSelection() override;
144 void setMutatorClient( 145 void setMutatorClient(
145 std::unique_ptr<blink::WebCompositorMutatorClient>) override; 146 std::unique_ptr<blink::WebCompositorMutatorClient>) override;
146 void setEventListenerProperties( 147 void setEventListenerProperties(
147 blink::WebEventListenerClass eventClass, 148 blink::WebEventListenerClass eventClass,
148 blink::WebEventListenerProperties properties) override; 149 blink::WebEventListenerProperties properties) override;
149 blink::WebEventListenerProperties eventListenerProperties( 150 blink::WebEventListenerProperties eventListenerProperties(
150 blink::WebEventListenerClass eventClass) const override; 151 blink::WebEventListenerClass eventClass) const override;
151 void setHaveScrollEventHandlers(bool) override; 152 void setHaveScrollEventHandlers(bool) override;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 223 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
223 224
224 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 225 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
225 226
226 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 227 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
227 }; 228 };
228 229
229 } // namespace content 230 } // namespace content
230 231
231 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 232 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698