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_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ | 5 #ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ |
6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ | 6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 float page_scale, | 143 float page_scale, |
144 float top_controls_delta) override; | 144 float top_controls_delta) override; |
145 void RequestNewOutputSurface() override; | 145 void RequestNewOutputSurface() override; |
146 void DidInitializeOutputSurface() override; | 146 void DidInitializeOutputSurface() override; |
147 void DidFailToInitializeOutputSurface() override; | 147 void DidFailToInitializeOutputSurface() override; |
148 void WillCommit() override; | 148 void WillCommit() override; |
149 void DidCommit() override; | 149 void DidCommit() override; |
150 void DidCommitAndDrawFrame() override; | 150 void DidCommitAndDrawFrame() override; |
151 void DidCompleteSwapBuffers() override; | 151 void DidCompleteSwapBuffers() override; |
152 void DidCompletePageScaleAnimation() override; | 152 void DidCompletePageScaleAnimation() override; |
153 void RecordFrameTimingEvents( | |
154 std::unique_ptr<cc::FrameTimingTracker::CompositeTimingSet> | |
155 composite_events, | |
156 std::unique_ptr<cc::FrameTimingTracker::MainFrameTimingSet> | |
157 main_frame_events) override; | |
158 | 153 |
159 // RemoteProtoChannel implementation. | 154 // RemoteProtoChannel implementation. |
160 void SetProtoReceiver(ProtoReceiver* receiver) override; | 155 void SetProtoReceiver(ProtoReceiver* receiver) override; |
161 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override; | 156 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override; |
162 | 157 |
163 // BlimpInputManagerClient implementation. | 158 // BlimpInputManagerClient implementation. |
164 void SendWebGestureEvent( | 159 void SendWebGestureEvent( |
165 const blink::WebGestureEvent& gesture_event) override; | 160 const blink::WebGestureEvent& gesture_event) override; |
166 | 161 |
167 // Internal method to correctly set the visibility on the |host_|. It will | 162 // Internal method to correctly set the visibility on the |host_|. It will |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 // widget. | 207 // widget. |
213 std::unique_ptr<BlimpInputManager> input_manager_; | 208 std::unique_ptr<BlimpInputManager> input_manager_; |
214 | 209 |
215 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor); | 210 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor); |
216 }; | 211 }; |
217 | 212 |
218 } // namespace client | 213 } // namespace client |
219 } // namespace blimp | 214 } // namespace blimp |
220 | 215 |
221 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ | 216 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ |
OLD | NEW |