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

Side by Side Diff: Source/platform/graphics/paint/DisplayItem.h

Issue 1312493007: Fix table cell background caching issue about interest rect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
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 #ifndef DisplayItem_h 5 #ifndef DisplayItem_h
6 #define DisplayItem_h 6 #define DisplayItem_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/graphics/ContiguousContainer.h" 9 #include "platform/graphics/ContiguousContainer.h"
10 #include "platform/graphics/paint/DisplayItemClient.h" 10 #include "platform/graphics/paint/DisplayItemClient.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 ScrollbarForwardButtonEnd, 83 ScrollbarForwardButtonEnd,
84 ScrollbarForwardButtonStart, 84 ScrollbarForwardButtonStart,
85 ScrollbarForwardTrack, 85 ScrollbarForwardTrack,
86 ScrollbarHorizontal, // For ScrollbarThemeMacNonOverlayAPI only. 86 ScrollbarHorizontal, // For ScrollbarThemeMacNonOverlayAPI only.
87 ScrollbarThumb, 87 ScrollbarThumb,
88 ScrollbarTickmarks, 88 ScrollbarTickmarks,
89 ScrollbarTrackBackground, 89 ScrollbarTrackBackground,
90 ScrollbarVertical, // For ScrollbarThemeMacNonOverlayAPI only. 90 ScrollbarVertical, // For ScrollbarThemeMacNonOverlayAPI only.
91 SelectionGap, 91 SelectionGap,
92 SelectionTint, 92 SelectionTint,
93 TableCellBackgroundFromSelfPaintingRow, // FIXME: To be deprecated. 93 TableCellBackgroundFromContainers,
94 TableCellBackgroundFromSelfPaintingRow,
94 // Table collapsed borders can be painted together (e.g., left & top) bu t there are at most 4 phases of collapsed 95 // Table collapsed borders can be painted together (e.g., left & top) bu t there are at most 4 phases of collapsed
95 // border painting for a single cell. To disambiguate these phases of co llapsed border painting, a mask is used. 96 // border painting for a single cell. To disambiguate these phases of co llapsed border painting, a mask is used.
96 // TableCollapsedBorderBase can be larger than TableCollapsedBorderUnali gnedBase to ensure the base lower bits are 0's. 97 // TableCollapsedBorderBase can be larger than TableCollapsedBorderUnali gnedBase to ensure the base lower bits are 0's.
97 TableCollapsedBorderUnalignedBase, 98 TableCollapsedBorderUnalignedBase,
98 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >> 4) + 1) << 4, 99 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >> 4) + 1) << 4,
99 TableCollapsedBorderLast = TableCollapsedBorderBase + 0x0f, 100 TableCollapsedBorderLast = TableCollapsedBorderBase + 0x0f,
100 VideoBitmap, 101 VideoBitmap,
101 WebPlugin, 102 WebPlugin,
102 WebFont, 103 WebFont,
103 DrawingLast = WebFont, 104 DrawingLast = WebFont,
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; 378 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0;
378 #endif 379 #endif
379 380
380 private: 381 private:
381 bool isEnd() const final { return true; } 382 bool isEnd() const final { return true; }
382 }; 383 };
383 384
384 } // namespace blink 385 } // namespace blink
385 386
386 #endif // DisplayItem_h 387 #endif // DisplayItem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698