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

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

Issue 2887053002: Remove scroll_clip_layer dependency from viewport layer tracking (Closed)
Patch Set: Cleanup return stmt Created 3 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
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 void SetNeedsBeginFrame() override; 141 void SetNeedsBeginFrame() override;
142 void DidStopFlinging() override; 142 void DidStopFlinging() override;
143 void LayoutAndPaintAsync( 143 void LayoutAndPaintAsync(
144 blink::WebLayoutAndPaintAsyncCallback* callback) override; 144 blink::WebLayoutAndPaintAsyncCallback* callback) override;
145 void CompositeAndReadbackAsync( 145 void CompositeAndReadbackAsync(
146 blink::WebCompositeAndReadbackAsyncCallback* callback) override; 146 blink::WebCompositeAndReadbackAsyncCallback* callback) override;
147 void SetDeferCommits(bool defer_commits) override; 147 void SetDeferCommits(bool defer_commits) override;
148 void RegisterViewportLayers( 148 void RegisterViewportLayers(
149 const blink::WebLayer* overscrollElasticityLayer, 149 const blink::WebLayer* overscrollElasticityLayer,
150 const blink::WebLayer* pageScaleLayer, 150 const blink::WebLayer* pageScaleLayer,
151 const blink::WebLayer* innerViewportContainerLayer,
152 const blink::WebLayer* outerViewportContainerLayer,
151 const blink::WebLayer* innerViewportScrollLayer, 153 const blink::WebLayer* innerViewportScrollLayer,
152 const blink::WebLayer* outerViewportScrollLayer) override; 154 const blink::WebLayer* outerViewportScrollLayer) override;
153 void ClearViewportLayers() override; 155 void ClearViewportLayers() override;
154 void RegisterSelection(const blink::WebSelection& selection) override; 156 void RegisterSelection(const blink::WebSelection& selection) override;
155 void ClearSelection() override; 157 void ClearSelection() override;
156 void SetMutatorClient( 158 void SetMutatorClient(
157 std::unique_ptr<blink::WebCompositorMutatorClient>) override; 159 std::unique_ptr<blink::WebCompositorMutatorClient>) override;
158 void ForceRecalculateRasterScales() override; 160 void ForceRecalculateRasterScales() override;
159 void SetEventListenerProperties( 161 void SetEventListenerProperties(
160 blink::WebEventListenerClass eventClass, 162 blink::WebEventListenerClass eventClass,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 cc::FrameSinkId frame_sink_id_; 246 cc::FrameSinkId frame_sink_id_;
245 247
246 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 248 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
247 249
248 DISALLOW_COPY_AND_ASSIGN(RenderWidgetCompositor); 250 DISALLOW_COPY_AND_ASSIGN(RenderWidgetCompositor);
249 }; 251 };
250 252
251 } // namespace content 253 } // namespace content
252 254
253 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 255 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698