| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Samsung Electronics. All rights reserved. | 3 * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 case blink::PaintPhaseForeground: | 59 case blink::PaintPhaseForeground: |
| 60 return "Foreground"; | 60 return "Foreground"; |
| 61 case blink::PaintPhaseOutline: | 61 case blink::PaintPhaseOutline: |
| 62 return "Outline"; | 62 return "Outline"; |
| 63 case blink::PaintPhaseChildOutlines: | 63 case blink::PaintPhaseChildOutlines: |
| 64 return "ChildOutlines"; | 64 return "ChildOutlines"; |
| 65 case blink::PaintPhaseSelfOutline: | 65 case blink::PaintPhaseSelfOutline: |
| 66 return "SelfOutline"; | 66 return "SelfOutline"; |
| 67 case blink::PaintPhaseSelection: | 67 case blink::PaintPhaseSelection: |
| 68 return "Selection"; | 68 return "Selection"; |
| 69 case blink::PaintPhaseCollapsedTableBorders: | |
| 70 return "CollapsedTableBorders"; | |
| 71 case blink::PaintPhaseTextClip: | 69 case blink::PaintPhaseTextClip: |
| 72 return "TextClip"; | 70 return "TextClip"; |
| 73 case blink::PaintPhaseMask: | 71 case blink::PaintPhaseMask: |
| 74 return "Mask"; | 72 return "Mask"; |
| 75 case blink::PaintPhaseClippingMask: | 73 case blink::PaintPhaseClippingMask: |
| 76 return "ClippingMask"; | 74 return "ClippingMask"; |
| 77 default: | 75 default: |
| 78 ASSERT_NOT_REACHED(); | 76 ASSERT_NOT_REACHED(); |
| 79 return "<unknown>"; | 77 return "<unknown>"; |
| 80 } | 78 } |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 m_context->beginAnnotation(annotations); | 130 m_context->beginAnnotation(annotations); |
| 133 } | 131 } |
| 134 | 132 |
| 135 void GraphicsContextAnnotator::finishAnnotation() | 133 void GraphicsContextAnnotator::finishAnnotation() |
| 136 { | 134 { |
| 137 ASSERT(m_context); | 135 ASSERT(m_context); |
| 138 m_context->endAnnotation(); | 136 m_context->endAnnotation(); |
| 139 } | 137 } |
| 140 | 138 |
| 141 } // namespace blink | 139 } // namespace blink |
| OLD | NEW |