| 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 "config.h" | 5 #include "config.h" |
| 6 #include "platform/graphics/PaintInvalidationReason.h" | 6 #include "platform/graphics/PaintInvalidationReason.h" |
| 7 | 7 |
| 8 #include "wtf/Assertions.h" | 8 #include "wtf/Assertions.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 case PaintInvalidationBackgroundObscurationChange: | 39 case PaintInvalidationBackgroundObscurationChange: |
| 40 return "background obscuration change"; | 40 return "background obscuration change"; |
| 41 case PaintInvalidationBecameVisible: | 41 case PaintInvalidationBecameVisible: |
| 42 return "became visible"; | 42 return "became visible"; |
| 43 case PaintInvalidationBecameInvisible: | 43 case PaintInvalidationBecameInvisible: |
| 44 return "became invisible"; | 44 return "became invisible"; |
| 45 case PaintInvalidationScroll: | 45 case PaintInvalidationScroll: |
| 46 return "scroll"; | 46 return "scroll"; |
| 47 case PaintInvalidationSelection: | 47 case PaintInvalidationSelection: |
| 48 return "selection"; | 48 return "selection"; |
| 49 case PaintInvalidationFocusRing: | 49 case PaintInvalidationOutline: |
| 50 return "focus ring"; | 50 return "outline"; |
| 51 case PaintInvalidationLayer: | 51 case PaintInvalidationLayer: |
| 52 return "layer"; | 52 return "layer"; |
| 53 case PaintInvalidationLayoutObjectInsertion: | 53 case PaintInvalidationLayoutObjectInsertion: |
| 54 return "layoutObject insertion"; | 54 return "layoutObject insertion"; |
| 55 case PaintInvalidationLayoutObjectRemoval: | 55 case PaintInvalidationLayoutObjectRemoval: |
| 56 return "layoutObject removal"; | 56 return "layoutObject removal"; |
| 57 case PaintInvalidationDelayedFull: | 57 case PaintInvalidationDelayedFull: |
| 58 return "delayed full"; | 58 return "delayed full"; |
| 59 } | 59 } |
| 60 ASSERT_NOT_REACHED(); | 60 ASSERT_NOT_REACHED(); |
| 61 return ""; | 61 return ""; |
| 62 } | 62 } |
| 63 | 63 |
| 64 } | 64 } |
| OLD | NEW |