Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
|
mithro-old
2014/12/16 10:50:58
Is this being added because BeginFrameObserver in
simonhong
2014/12/16 15:13:30
I thought cc::BeginFrameObserver and ui:Compositor
danakj
2014/12/16 15:44:11
Ui depends on cc so can't go the other way. It sho
brianderson
2014/12/17 01:44:55
If we want to unify the Observer classes, we'll ne
| |
| 4 | |
| 5 #ifndef UI_BASE_COMPOSITOR_COMPOSITOR_BEGIN_FRAME_OBSERVER_H_ | |
| 6 #define UI_BASE_COMPOSITOR_COMPOSITOR_BEGIN_FRAME_OBSERVER_H_ | |
| 7 | |
| 8 namespace cc { | |
| 9 struct BeginFrameArgs; | |
| 10 } | |
| 11 | |
| 12 namespace ui { | |
| 13 | |
| 14 class CompositorBeginFrameObserver { | |
| 15 public: | |
| 16 virtual ~CompositorBeginFrameObserver() {} | |
| 17 | |
| 18 virtual void OnSendBeginFrame(const cc::BeginFrameArgs& args) = 0; | |
| 19 }; | |
| 20 | |
| 21 } // namespace ui | |
| 22 | |
| 23 #endif // UI_BASE_COMPOSITOR_COMPOSITOR_BEGIN_FRAME_OBSERVER_H_ | |
| OLD | NEW |