OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | |
jamesr
2012/12/04 07:06:51
leading space here for some reason
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CC_OUTPUT_SURFACE_CLIENT_H_ | |
6 #define CC_OUTPUT_SURFACE_CLIENT_H_ | |
7 | |
8 namespace cc { | |
9 | |
10 class CompositorFrameAck; | |
11 | |
12 class OutputSurfaceClient { | |
13 public: | |
14 virtual void OnVSyncParametersChanged(double monotonicTimebase, double interva lInSeconds) = 0; | |
jamesr
2012/12/04 07:06:51
the types on this should be base::TimeTicks and ba
danakj
2012/12/04 18:15:34
Done.
| |
15 virtual void OnSendFrameToParentCompositorAck(const CompositorFrameAck&) {} | |
jamesr
2012/12/04 07:06:51
do we need a default impl of this or can it be pur
danakj
2012/12/04 18:15:34
Sure, I'll have to add the method to LayerTreeHost
| |
16 }; | |
jamesr
2012/12/04 07:06:51
can you add an empty virtual dtor (probably protec
danakj
2012/12/04 18:15:34
Done.
| |
17 | |
18 } // namespace cc | |
19 | |
20 #endif // CC_OUTPUT_SURFACE_CLIENT_H_ | |
OLD | NEW |