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 29 matching lines...) Expand all Loading... |
40 case PaintInvalidationBecameVisible: | 40 case PaintInvalidationBecameVisible: |
41 return "became visible"; | 41 return "became visible"; |
42 case PaintInvalidationBecameInvisible: | 42 case PaintInvalidationBecameInvisible: |
43 return "became invisible"; | 43 return "became invisible"; |
44 case PaintInvalidationScroll: | 44 case PaintInvalidationScroll: |
45 return "scroll"; | 45 return "scroll"; |
46 case PaintInvalidationSelection: | 46 case PaintInvalidationSelection: |
47 return "selection"; | 47 return "selection"; |
48 case PaintInvalidationOutline: | 48 case PaintInvalidationOutline: |
49 return "outline"; | 49 return "outline"; |
50 case PaintInvalidationLayer: | 50 case PaintInvalidationSubtree: |
51 return "layer"; | 51 return "subtree"; |
52 case PaintInvalidationLayoutObjectInsertion: | 52 case PaintInvalidationLayoutObjectInsertion: |
53 return "layoutObject insertion"; | 53 return "layoutObject insertion"; |
54 case PaintInvalidationLayoutObjectRemoval: | 54 case PaintInvalidationLayoutObjectRemoval: |
55 return "layoutObject removal"; | 55 return "layoutObject removal"; |
56 case PaintInvalidationSVGResourceChange: | 56 case PaintInvalidationSVGResourceChange: |
57 return "SVG resource change"; | 57 return "SVG resource change"; |
58 case PaintInvalidationDelayedFull: | 58 case PaintInvalidationDelayedFull: |
59 return "delayed full"; | 59 return "delayed full"; |
60 } | 60 } |
61 ASSERT_NOT_REACHED(); | 61 ASSERT_NOT_REACHED(); |
62 return ""; | 62 return ""; |
63 } | 63 } |
64 | 64 |
65 } // namespace blink | 65 } // namespace blink |
OLD | NEW |