OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |