| 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::PaintPhaseTextClip: | |
| 70 return "TextClip"; | |
| 71 case blink::PaintPhaseMask: | 69 case blink::PaintPhaseMask: |
| 72 return "Mask"; | 70 return "Mask"; |
| 73 default: | 71 default: |
| 74 ASSERT_NOT_REACHED(); | 72 ASSERT_NOT_REACHED(); |
| 75 return "<unknown>"; | 73 return "<unknown>"; |
| 76 } | 74 } |
| 77 } | 75 } |
| 78 | 76 |
| 79 } | 77 } |
| 80 | 78 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 m_context->beginAnnotation(annotations); | 126 m_context->beginAnnotation(annotations); |
| 129 } | 127 } |
| 130 | 128 |
| 131 void GraphicsContextAnnotator::finishAnnotation() | 129 void GraphicsContextAnnotator::finishAnnotation() |
| 132 { | 130 { |
| 133 ASSERT(m_context); | 131 ASSERT(m_context); |
| 134 m_context->endAnnotation(); | 132 m_context->endAnnotation(); |
| 135 } | 133 } |
| 136 | 134 |
| 137 } // namespace blink | 135 } // namespace blink |
| OLD | NEW |