OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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. | |
4 | |
5 #include "ui/compositor/compositor_export.h" | |
6 | |
7 namespace ui { | |
8 | |
9 class Layer; | |
10 | |
11 class COMPOSITOR_EXPORT LayerObserver { | |
12 public: | |
13 virtual void OnDelegatedFrameDamageInTree() = 0; | |
14 virtual void OnLayerDestroyed(Layer* layer) = 0; | |
15 | |
16 protected: | |
17 virtual ~LayerObserver() {} | |
18 }; | |
19 | |
20 } // namespace ui | |
OLD | NEW |