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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 float page_scale, | 142 float page_scale, |
143 float top_controls_delta) override; | 143 float top_controls_delta) override; |
144 void RequestNewOutputSurface() override; | 144 void RequestNewOutputSurface() override; |
145 void DidInitializeOutputSurface() override; | 145 void DidInitializeOutputSurface() override; |
146 void DidFailToInitializeOutputSurface() override; | 146 void DidFailToInitializeOutputSurface() override; |
147 void WillCommit() override; | 147 void WillCommit() override; |
148 void DidCommit() override; | 148 void DidCommit() override; |
149 void DidCommitAndDrawFrame() override; | 149 void DidCommitAndDrawFrame() override; |
150 void DidCompleteSwapBuffers() override; | 150 void DidCompleteSwapBuffers() override; |
151 void DidCompletePageScaleAnimation() override; | 151 void DidCompletePageScaleAnimation() override; |
| 152 void ReportFixedRasterScaleUseCounters( |
| 153 bool has_blurry_content, |
| 154 bool has_potential_performance_regression) override {} |
152 | 155 |
153 // RemoteProtoChannel implementation. | 156 // RemoteProtoChannel implementation. |
154 void SetProtoReceiver(ProtoReceiver* receiver) override; | 157 void SetProtoReceiver(ProtoReceiver* receiver) override; |
155 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override; | 158 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override; |
156 | 159 |
157 // BlimpInputManagerClient implementation. | 160 // BlimpInputManagerClient implementation. |
158 void SendWebGestureEvent( | 161 void SendWebGestureEvent( |
159 const blink::WebGestureEvent& gesture_event) override; | 162 const blink::WebGestureEvent& gesture_event) override; |
160 | 163 |
161 // Internal method to correctly set the visibility on the |host_|. It will | 164 // 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... |
206 // widget. | 209 // widget. |
207 std::unique_ptr<BlimpInputManager> input_manager_; | 210 std::unique_ptr<BlimpInputManager> input_manager_; |
208 | 211 |
209 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor); | 212 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor); |
210 }; | 213 }; |
211 | 214 |
212 } // namespace client | 215 } // namespace client |
213 } // namespace blimp | 216 } // namespace blimp |
214 | 217 |
215 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ | 218 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ |
OLD | NEW |