OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2011 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 #ifndef VIEWS_PAINT_LISTENER_H_ | |
6 #define VIEWS_PAINT_LISTENER_H_ | |
7 #pragma once | |
8 | |
9 namespace views { | |
10 | |
11 class View; | |
12 | |
13 // Paint listeners can be installed on views to allow other parties to be | |
14 // notified when painting or compositing completes. | |
15 class PaintListener { | |
16 public: | |
17 virtual void OnPainted(View* view) = 0; | |
Ben Goodger (Google)
2011/08/26 19:30:00
From your code, it doesn't appear that the OnPaint
| |
18 virtual void OnComposited(View* view) = 0; | |
Ben Goodger (Google)
2011/08/26 19:30:00
Looking at what you're using this for, it seems li
| |
19 | |
20 protected: | |
21 virtual ~PaintListener(); | |
22 }; | |
23 | |
24 } // namespace views | |
25 | |
26 #endif // VIEWS_PAINT_LISTENER_H_ | |
OLD | NEW |