OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 BLIMP_CLIENT_COMPOSITOR_BLIMP_COMPOSITOR_H_ | 5 #ifndef BLIMP_CLIENT_COMPOSITOR_BLIMP_COMPOSITOR_H_ |
6 #define BLIMP_CLIENT_COMPOSITOR_BLIMP_COMPOSITOR_H_ | 6 #define BLIMP_CLIENT_COMPOSITOR_BLIMP_COMPOSITOR_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 void WillBeginMainFrame() override; | 94 void WillBeginMainFrame() override; |
95 void DidBeginMainFrame() override; | 95 void DidBeginMainFrame() override; |
96 void BeginMainFrame(const cc::BeginFrameArgs& args) override; | 96 void BeginMainFrame(const cc::BeginFrameArgs& args) override; |
97 void BeginMainFrameNotExpectedSoon() override; | 97 void BeginMainFrameNotExpectedSoon() override; |
98 void UpdateLayerTreeHost() override; | 98 void UpdateLayerTreeHost() override; |
99 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, | 99 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, |
100 const gfx::Vector2dF& outer_delta, | 100 const gfx::Vector2dF& outer_delta, |
101 const gfx::Vector2dF& elastic_overscroll_delta, | 101 const gfx::Vector2dF& elastic_overscroll_delta, |
102 float page_scale, | 102 float page_scale, |
103 float top_controls_delta) override; | 103 float top_controls_delta) override; |
| 104 void ApplyMutations(const LayerTreeMutations& mutations) override; |
104 void RequestNewOutputSurface() override; | 105 void RequestNewOutputSurface() override; |
105 void DidInitializeOutputSurface() override; | 106 void DidInitializeOutputSurface() override; |
106 void DidFailToInitializeOutputSurface() override; | 107 void DidFailToInitializeOutputSurface() override; |
107 void WillCommit() override; | 108 void WillCommit() override; |
108 void DidCommit() override; | 109 void DidCommit() override; |
109 void DidCommitAndDrawFrame() override; | 110 void DidCommitAndDrawFrame() override; |
110 void DidCompleteSwapBuffers() override; | 111 void DidCompleteSwapBuffers() override; |
111 void DidCompletePageScaleAnimation() override; | 112 void DidCompletePageScaleAnimation() override; |
112 void RecordFrameTimingEvents( | 113 void RecordFrameTimingEvents( |
113 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, | 114 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 // widget. | 177 // widget. |
177 scoped_ptr<BlimpInputManager> input_manager_; | 178 scoped_ptr<BlimpInputManager> input_manager_; |
178 | 179 |
179 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor); | 180 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor); |
180 }; | 181 }; |
181 | 182 |
182 } // namespace client | 183 } // namespace client |
183 } // namespace blimp | 184 } // namespace blimp |
184 | 185 |
185 #endif // BLIMP_CLIENT_COMPOSITOR_BLIMP_COMPOSITOR_H_ | 186 #endif // BLIMP_CLIENT_COMPOSITOR_BLIMP_COMPOSITOR_H_ |
OLD | NEW |