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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 void UpdateBrowserControlsState(blink::WebBrowserControlsState constraints, | 173 void UpdateBrowserControlsState(blink::WebBrowserControlsState constraints, |
174 blink::WebBrowserControlsState current, | 174 blink::WebBrowserControlsState current, |
175 bool animate) override; | 175 bool animate) override; |
176 void SetBrowserControlsHeight(float top_height, | 176 void SetBrowserControlsHeight(float top_height, |
177 float bottom_height, | 177 float bottom_height, |
178 bool shrink) override; | 178 bool shrink) override; |
179 void SetBrowserControlsShownRatio(float) override; | 179 void SetBrowserControlsShownRatio(float) override; |
180 void RequestDecode(const PaintImage& image, | 180 void RequestDecode(const PaintImage& image, |
181 const base::Callback<void(bool)>& callback) override; | 181 const base::Callback<void(bool)>& callback) override; |
182 | 182 |
| 183 void SetScrollBoundaryBehavior( |
| 184 const blink::WebScrollBoundaryBehavior&) override; |
| 185 |
183 // cc::LayerTreeHostClient implementation. | 186 // cc::LayerTreeHostClient implementation. |
184 void WillBeginMainFrame() override; | 187 void WillBeginMainFrame() override; |
185 void DidBeginMainFrame() override; | 188 void DidBeginMainFrame() override; |
186 void BeginMainFrame(const viz::BeginFrameArgs& args) override; | 189 void BeginMainFrame(const viz::BeginFrameArgs& args) override; |
187 void BeginMainFrameNotExpectedSoon() override; | 190 void BeginMainFrameNotExpectedSoon() override; |
188 void BeginMainFrameNotExpectedUntil(base::TimeTicks time) override; | 191 void BeginMainFrameNotExpectedUntil(base::TimeTicks time) override; |
189 void UpdateLayerTreeHost() override; | 192 void UpdateLayerTreeHost() override; |
190 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, | 193 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, |
191 const gfx::Vector2dF& outer_delta, | 194 const gfx::Vector2dF& outer_delta, |
192 const gfx::Vector2dF& elastic_overscroll_delta, | 195 const gfx::Vector2dF& elastic_overscroll_delta, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 viz::FrameSinkId frame_sink_id_; | 243 viz::FrameSinkId frame_sink_id_; |
241 | 244 |
242 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; | 245 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; |
243 | 246 |
244 DISALLOW_COPY_AND_ASSIGN(RenderWidgetCompositor); | 247 DISALLOW_COPY_AND_ASSIGN(RenderWidgetCompositor); |
245 }; | 248 }; |
246 | 249 |
247 } // namespace content | 250 } // namespace content |
248 | 251 |
249 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 252 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
OLD | NEW |