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 #ifndef PaintResult_h |
| 6 #define PaintResult_h |
| 7 |
| 8 namespace blink { |
| 9 |
| 10 // Used as the return type of some paint methods. |
| 11 enum PaintResult { |
| 12 // The layer/object is fully painted. This includes cases that nothing needs |
| 13 // painting regardless of the paint rect. |
| 14 FullyPainted, |
| 15 // Some part of the layer/object is out of the paint rect and may be not fully |
| 16 // painted. The results cannot be cached because they may change when paint |
| 17 // rect changes. |
| 18 MayBeClippedByPaintDirtyRect, |
| 19 |
| 20 MaxPaintResult = MayBeClippedByPaintDirtyRect, |
| 21 }; |
| 22 |
| 23 } // namespace blink |
| 24 |
| 25 #endif // PaintResult.h |
OLD | NEW |