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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/PaintInvalidationReason.cpp

Issue 2665823002: Invalidate caret during paint invalidation (Closed)
Patch Set: NeedsRebaseline Created 3 years, 10 months 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 | « third_party/WebKit/Source/platform/graphics/PaintInvalidationReason.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 case PaintInvalidationSubtree: 49 case PaintInvalidationSubtree:
50 return "subtree"; 50 return "subtree";
51 case PaintInvalidationLayoutObjectInsertion: 51 case PaintInvalidationLayoutObjectInsertion:
52 return "layoutObject insertion"; 52 return "layoutObject insertion";
53 case PaintInvalidationLayoutObjectRemoval: 53 case PaintInvalidationLayoutObjectRemoval:
54 return "layoutObject removal"; 54 return "layoutObject removal";
55 case PaintInvalidationSVGResourceChange: 55 case PaintInvalidationSVGResourceChange:
56 return "SVG resource change"; 56 return "SVG resource change";
57 case PaintInvalidationBackgroundOnScrollingContentsLayer: 57 case PaintInvalidationBackgroundOnScrollingContentsLayer:
58 return "background on scrolling contents layer"; 58 return "background on scrolling contents layer";
59 case PaintInvalidationCaret:
60 return "caret";
59 case PaintInvalidationForTesting: 61 case PaintInvalidationForTesting:
60 return "for testing"; 62 return "for testing";
61 case PaintInvalidationDelayedFull: 63 case PaintInvalidationDelayedFull:
62 return "delayed full"; 64 return "delayed full";
63 } 65 }
64 ASSERT_NOT_REACHED(); 66 ASSERT_NOT_REACHED();
65 return ""; 67 return "";
66 } 68 }
67 69
68 } // namespace blink 70 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/PaintInvalidationReason.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698