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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintPhase.h

Issue 1379213002: Remove LayoutTable::m_currentBorder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment Created 5 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 29 matching lines...) Expand all
40 enum PaintPhase { 40 enum PaintPhase {
41 PaintPhaseBlockBackground = 0, 41 PaintPhaseBlockBackground = 0,
42 PaintPhaseChildBlockBackground = 1, 42 PaintPhaseChildBlockBackground = 1,
43 PaintPhaseChildBlockBackgrounds = 2, 43 PaintPhaseChildBlockBackgrounds = 2,
44 PaintPhaseFloat = 3, 44 PaintPhaseFloat = 3,
45 PaintPhaseForeground = 4, 45 PaintPhaseForeground = 4,
46 PaintPhaseOutline = 5, 46 PaintPhaseOutline = 5,
47 PaintPhaseChildOutlines = 6, 47 PaintPhaseChildOutlines = 6,
48 PaintPhaseSelfOutline = 7, 48 PaintPhaseSelfOutline = 7,
49 PaintPhaseSelection = 8, 49 PaintPhaseSelection = 8,
50 PaintPhaseCollapsedTableBorders = 9, 50 PaintPhaseTextClip = 9,
51 PaintPhaseTextClip = 10, 51 PaintPhaseMask = 10,
52 PaintPhaseMask = 11, 52 PaintPhaseClippingMask = 11,
53 PaintPhaseClippingMask = 12,
54 PaintPhaseMax = PaintPhaseClippingMask, 53 PaintPhaseMax = PaintPhaseClippingMask,
55 // These values must be kept in sync with DisplayItem::Type and DisplayItem: :typeAsDebugString(). 54 // These values must be kept in sync with DisplayItem::Type and DisplayItem: :typeAsDebugString().
56 }; 55 };
57 56
58 // Those flags are meant as global tree operations. This means 57 // Those flags are meant as global tree operations. This means
59 // that they should be constant for a paint phase. 58 // that they should be constant for a paint phase.
60 enum GlobalPaintFlag { 59 enum GlobalPaintFlag {
61 GlobalPaintNormalPhase = 0, 60 GlobalPaintNormalPhase = 0,
62 // Used when painting selection as part of a drag-image. This 61 // Used when painting selection as part of a drag-image. This
63 // flag disables a lot of the painting code and specifically 62 // flag disables a lot of the painting code and specifically
64 // triggers a PaintPhaseSelection. 63 // triggers a PaintPhaseSelection.
65 GlobalPaintSelectionOnly = 1 << 0, 64 GlobalPaintSelectionOnly = 1 << 0,
66 // Used when painting a drag-image or printing in order to 65 // Used when painting a drag-image or printing in order to
67 // ignore the hardware layers and paint the whole tree 66 // ignore the hardware layers and paint the whole tree
68 // into the topmost layer. 67 // into the topmost layer.
69 GlobalPaintFlattenCompositingLayers = 1 << 1, 68 GlobalPaintFlattenCompositingLayers = 1 << 1,
70 // Used when printing in order to adapt the output to the medium, for 69 // Used when printing in order to adapt the output to the medium, for
71 // instance by not painting shadows and selections on text, and add 70 // instance by not painting shadows and selections on text, and add
72 // URL metadata for links. 71 // URL metadata for links.
73 GlobalPaintPrinting = 1 << 2 72 GlobalPaintPrinting = 1 << 2
74 }; 73 };
75 74
76 typedef unsigned GlobalPaintFlags; 75 typedef unsigned GlobalPaintFlags;
77 76
78 } // namespace blink 77 } // namespace blink
79 78
80 #endif // PaintPhase_h 79 #endif // PaintPhase_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableCell.cpp ('k') | third_party/WebKit/Source/core/paint/TableCellPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698