OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "platform/graphics/PaintInvalidationReason.h" | 5 #include "platform/graphics/PaintInvalidationReason.h" |
6 | 6 |
7 #include "wtf/Assertions.h" | 7 #include "wtf/Assertions.h" |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 case PaintInvalidationLayoutObjectInsertion: | 51 case PaintInvalidationLayoutObjectInsertion: |
52 return "layoutObject insertion"; | 52 return "layoutObject insertion"; |
53 case PaintInvalidationLayoutObjectRemoval: | 53 case PaintInvalidationLayoutObjectRemoval: |
54 return "layoutObject removal"; | 54 return "layoutObject removal"; |
55 case PaintInvalidationSVGResourceChange: | 55 case PaintInvalidationSVGResourceChange: |
56 return "SVG resource change"; | 56 return "SVG resource change"; |
57 case PaintInvalidationBackgroundOnScrollingContentsLayer: | 57 case PaintInvalidationBackgroundOnScrollingContentsLayer: |
58 return "background on scrolling contents layer"; | 58 return "background on scrolling contents layer"; |
59 case PaintInvalidationCaret: | 59 case PaintInvalidationCaret: |
60 return "caret"; | 60 return "caret"; |
| 61 case PaintInvalidationViewBackground: |
| 62 return "view background"; |
61 case PaintInvalidationForTesting: | 63 case PaintInvalidationForTesting: |
62 return "for testing"; | 64 return "for testing"; |
63 case PaintInvalidationDelayedFull: | 65 case PaintInvalidationDelayedFull: |
64 return "delayed full"; | 66 return "delayed full"; |
65 } | 67 } |
66 ASSERT_NOT_REACHED(); | 68 ASSERT_NOT_REACHED(); |
67 return ""; | 69 return ""; |
68 } | 70 } |
69 | 71 |
70 } // namespace blink | 72 } // namespace blink |
OLD | NEW |