| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 void SetHasTransparentBackground(bool flag) override; | 78 void SetHasTransparentBackground(bool flag) override; |
| 79 void SetNeedsComposite() override; | 79 void SetNeedsComposite() override; |
| 80 ui::UIResourceProvider& GetUIResourceProvider() override; | 80 ui::UIResourceProvider& GetUIResourceProvider() override; |
| 81 ui::ResourceManager& GetResourceManager() override; | 81 ui::ResourceManager& GetResourceManager() override; |
| 82 | 82 |
| 83 // LayerTreeHostClient implementation. | 83 // LayerTreeHostClient implementation. |
| 84 void WillBeginMainFrame() override {} | 84 void WillBeginMainFrame() override {} |
| 85 void DidBeginMainFrame() override {} | 85 void DidBeginMainFrame() override {} |
| 86 void BeginMainFrame(const cc::BeginFrameArgs& args) override {} | 86 void BeginMainFrame(const cc::BeginFrameArgs& args) override {} |
| 87 void BeginMainFrameNotExpectedSoon() override {} | 87 void BeginMainFrameNotExpectedSoon() override {} |
| 88 void BeginMainFrameNotExpectedUntil(base::TimeTicks time) override {} |
| 88 void UpdateLayerTreeHost() override; | 89 void UpdateLayerTreeHost() override; |
| 89 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, | 90 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, |
| 90 const gfx::Vector2dF& outer_delta, | 91 const gfx::Vector2dF& outer_delta, |
| 91 const gfx::Vector2dF& elastic_overscroll_delta, | 92 const gfx::Vector2dF& elastic_overscroll_delta, |
| 92 float page_scale, | 93 float page_scale, |
| 93 float top_controls_delta) override {} | 94 float top_controls_delta) override {} |
| 94 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel, | 95 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel, |
| 95 bool has_scrolled_by_touch) override {} | 96 bool has_scrolled_by_touch) override {} |
| 96 void RequestNewCompositorFrameSink() override; | 97 void RequestNewCompositorFrameSink() override; |
| 97 void DidInitializeCompositorFrameSink() override; | 98 void DidInitializeCompositorFrameSink() override; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 std::unordered_set<cc::FrameSinkId, cc::FrameSinkIdHash> | 185 std::unordered_set<cc::FrameSinkId, cc::FrameSinkIdHash> |
| 185 pending_child_frame_sink_ids_; | 186 pending_child_frame_sink_ids_; |
| 186 base::WeakPtrFactory<CompositorImpl> weak_factory_; | 187 base::WeakPtrFactory<CompositorImpl> weak_factory_; |
| 187 | 188 |
| 188 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); | 189 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); |
| 189 }; | 190 }; |
| 190 | 191 |
| 191 } // namespace content | 192 } // namespace content |
| 192 | 193 |
| 193 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 194 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
| OLD | NEW |