Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Side by Side Diff: sky/engine/core/rendering/GraphicsContextAnnotator.cpp

Issue 706953003: Delete unused methods/arguments from RenderBlockFlow. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | sky/engine/core/rendering/PaintPhase.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 static const char* paintPhaseName(blink::PaintPhase phase) 50 static const char* paintPhaseName(blink::PaintPhase phase)
51 { 51 {
52 switch (phase) { 52 switch (phase) {
53 case blink::PaintPhaseBlockBackground: 53 case blink::PaintPhaseBlockBackground:
54 return "BlockBackground"; 54 return "BlockBackground";
55 case blink::PaintPhaseChildBlockBackground: 55 case blink::PaintPhaseChildBlockBackground:
56 return "ChildBlockBackground"; 56 return "ChildBlockBackground";
57 case blink::PaintPhaseChildBlockBackgrounds: 57 case blink::PaintPhaseChildBlockBackgrounds:
58 return "ChildBlockBackgrounds"; 58 return "ChildBlockBackgrounds";
59 case blink::PaintPhaseFloat:
60 return "Float";
61 case blink::PaintPhaseForeground: 59 case blink::PaintPhaseForeground:
62 return "Foreground"; 60 return "Foreground";
63 case blink::PaintPhaseOutline: 61 case blink::PaintPhaseOutline:
64 return "Outline"; 62 return "Outline";
65 case blink::PaintPhaseChildOutlines: 63 case blink::PaintPhaseChildOutlines:
66 return "ChildOutlines"; 64 return "ChildOutlines";
67 case blink::PaintPhaseSelfOutline: 65 case blink::PaintPhaseSelfOutline:
68 return "SelfOutline"; 66 return "SelfOutline";
69 case blink::PaintPhaseSelection: 67 case blink::PaintPhaseSelection:
70 return "Selection"; 68 return "Selection";
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 m_context->beginAnnotation(annotations); 132 m_context->beginAnnotation(annotations);
135 } 133 }
136 134
137 void GraphicsContextAnnotator::finishAnnotation() 135 void GraphicsContextAnnotator::finishAnnotation()
138 { 136 {
139 ASSERT(m_context); 137 ASSERT(m_context);
140 m_context->endAnnotation(); 138 m_context->endAnnotation();
141 } 139 }
142 140
143 } // namespace blink 141 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/rendering/PaintPhase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698