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

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

Issue 1910233005: Ensure display item ids are unique for image areas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/paint/DisplayItem.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/paint/DisplayItem.h" 5 #include "platform/graphics/paint/DisplayItem.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 struct SameSizeAsDisplayItem { 9 struct SameSizeAsDisplayItem {
10 virtual ~SameSizeAsDisplayItem() { } // Allocate vtable pointer. 10 virtual ~SameSizeAsDisplayItem() { } // Allocate vtable pointer.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 70 }
71 switch (type) { 71 switch (type) {
72 DEBUG_STRING_CASE(BoxDecorationBackground); 72 DEBUG_STRING_CASE(BoxDecorationBackground);
73 DEBUG_STRING_CASE(Caret); 73 DEBUG_STRING_CASE(Caret);
74 DEBUG_STRING_CASE(ColumnRules); 74 DEBUG_STRING_CASE(ColumnRules);
75 DEBUG_STRING_CASE(DebugRedFill); 75 DEBUG_STRING_CASE(DebugRedFill);
76 DEBUG_STRING_CASE(DocumentBackground); 76 DEBUG_STRING_CASE(DocumentBackground);
77 DEBUG_STRING_CASE(DragImage); 77 DEBUG_STRING_CASE(DragImage);
78 DEBUG_STRING_CASE(SVGImage); 78 DEBUG_STRING_CASE(SVGImage);
79 DEBUG_STRING_CASE(LinkHighlight); 79 DEBUG_STRING_CASE(LinkHighlight);
80 DEBUG_STRING_CASE(ImageAreaFocusRing);
80 DEBUG_STRING_CASE(PageOverlay); 81 DEBUG_STRING_CASE(PageOverlay);
81 DEBUG_STRING_CASE(PageWidgetDelegateBackgroundFallback); 82 DEBUG_STRING_CASE(PageWidgetDelegateBackgroundFallback);
82 DEBUG_STRING_CASE(PopupContainerBorder); 83 DEBUG_STRING_CASE(PopupContainerBorder);
83 DEBUG_STRING_CASE(PopupListBoxBackground); 84 DEBUG_STRING_CASE(PopupListBoxBackground);
84 DEBUG_STRING_CASE(PopupListBoxRow); 85 DEBUG_STRING_CASE(PopupListBoxRow);
85 DEBUG_STRING_CASE(PrintedContentBackground); 86 DEBUG_STRING_CASE(PrintedContentBackground);
86 DEBUG_STRING_CASE(PrintedContentDestinationLocations); 87 DEBUG_STRING_CASE(PrintedContentDestinationLocations);
87 DEBUG_STRING_CASE(PrintedContentLineBoundary); 88 DEBUG_STRING_CASE(PrintedContentLineBoundary);
88 DEBUG_STRING_CASE(PrintedContentPDFURLRect); 89 DEBUG_STRING_CASE(PrintedContentPDFURLRect);
89 DEBUG_STRING_CASE(Resizer); 90 DEBUG_STRING_CASE(Resizer);
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 stringBuilder.append('"'); 251 stringBuilder.append('"');
251 if (m_skippedCache) 252 if (m_skippedCache)
252 stringBuilder.append(", skippedCache: true"); 253 stringBuilder.append(", skippedCache: true");
253 if (m_scope) 254 if (m_scope)
254 stringBuilder.append(String::format(", scope: %d", m_scope)); 255 stringBuilder.append(String::format(", scope: %d", m_scope));
255 } 256 }
256 257
257 #endif 258 #endif
258 259
259 } // namespace blink 260 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698