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

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

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Rebase Created 3 years, 3 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 | « content/common/input_messages.h ('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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 void UpdateBrowserControlsState(blink::WebBrowserControlsState constraints, 175 void UpdateBrowserControlsState(blink::WebBrowserControlsState constraints,
176 blink::WebBrowserControlsState current, 176 blink::WebBrowserControlsState current,
177 bool animate) override; 177 bool animate) override;
178 void SetBrowserControlsHeight(float top_height, 178 void SetBrowserControlsHeight(float top_height,
179 float bottom_height, 179 float bottom_height,
180 bool shrink) override; 180 bool shrink) override;
181 void SetBrowserControlsShownRatio(float) override; 181 void SetBrowserControlsShownRatio(float) override;
182 void RequestDecode(const PaintImage& image, 182 void RequestDecode(const PaintImage& image,
183 const base::Callback<void(bool)>& callback) override; 183 const base::Callback<void(bool)>& callback) override;
184 184
185 void SetScrollBoundaryBehavior(
186 const blink::WebScrollBoundaryBehavior&) override;
187
185 // cc::LayerTreeHostClient implementation. 188 // cc::LayerTreeHostClient implementation.
186 void WillBeginMainFrame() override; 189 void WillBeginMainFrame() override;
187 void DidBeginMainFrame() override; 190 void DidBeginMainFrame() override;
188 void BeginMainFrame(const viz::BeginFrameArgs& args) override; 191 void BeginMainFrame(const viz::BeginFrameArgs& args) override;
189 void BeginMainFrameNotExpectedSoon() override; 192 void BeginMainFrameNotExpectedSoon() override;
190 void BeginMainFrameNotExpectedUntil(base::TimeTicks time) override; 193 void BeginMainFrameNotExpectedUntil(base::TimeTicks time) override;
191 void UpdateLayerTreeHost() override; 194 void UpdateLayerTreeHost() override;
192 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 195 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
193 const gfx::Vector2dF& outer_delta, 196 const gfx::Vector2dF& outer_delta,
194 const gfx::Vector2dF& elastic_overscroll_delta, 197 const gfx::Vector2dF& elastic_overscroll_delta,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 viz::FrameSinkId frame_sink_id_; 245 viz::FrameSinkId frame_sink_id_;
243 246
244 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 247 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
245 248
246 DISALLOW_COPY_AND_ASSIGN(RenderWidgetCompositor); 249 DISALLOW_COPY_AND_ASSIGN(RenderWidgetCompositor);
247 }; 250 };
248 251
249 } // namespace content 252 } // namespace content
250 253
251 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 254 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « content/common/input_messages.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698