| 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 ReportFixedRasterScaleUseCounters( | |
| 154 bool has_blurry_content, | |
| 155 bool has_potential_performance_regression) override {} | |
| 156 | 153 |
| 157 // RemoteProtoChannel implementation. | 154 // RemoteProtoChannel implementation. |
| 158 void SetProtoReceiver(ProtoReceiver* receiver) override; | 155 void SetProtoReceiver(ProtoReceiver* receiver) override; |
| 159 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override; | 156 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override; |
| 160 | 157 |
| 161 // BlimpInputManagerClient implementation. | 158 // BlimpInputManagerClient implementation. |
| 162 void SendWebGestureEvent( | 159 void SendWebGestureEvent( |
| 163 const blink::WebGestureEvent& gesture_event) override; | 160 const blink::WebGestureEvent& gesture_event) override; |
| 164 | 161 |
| 165 // 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... |
| 210 // widget. | 207 // widget. |
| 211 std::unique_ptr<BlimpInputManager> input_manager_; | 208 std::unique_ptr<BlimpInputManager> input_manager_; |
| 212 | 209 |
| 213 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor); | 210 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor); |
| 214 }; | 211 }; |
| 215 | 212 |
| 216 } // namespace client | 213 } // namespace client |
| 217 } // namespace blimp | 214 } // namespace blimp |
| 218 | 215 |
| 219 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ | 216 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ |
| OLD | NEW |