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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 2473743003: Call Element::rebuildLayoutTree from Document::updateStyle directly (Closed)
Patch Set: Fix failures due to information not being retained correctly for detachLayoutTree() in Text::reatta… 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
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 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * 10 *
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 enum BoxSide { BSTop, BSRight, BSBottom, BSLeft }; 45 enum BoxSide { BSTop, BSRight, BSBottom, BSLeft };
46 46
47 // See core/dom/stylerecalc.md for an explanation on what each state means 47 // See core/dom/stylerecalc.md for an explanation on what each state means
48 enum StyleRecalcChange { 48 enum StyleRecalcChange {
49 NoChange, 49 NoChange,
50 NoInherit, 50 NoInherit,
51 UpdatePseudoElements, 51 UpdatePseudoElements,
52 IndependentInherit, 52 IndependentInherit,
53 Inherit, 53 Inherit,
54 Force, 54 Force,
55 Reattach, 55 Reattach
56 ReattachNoLayoutObject
57 }; 56 };
58 57
59 // Static pseudo styles. Dynamic ones are produced on the fly. 58 // Static pseudo styles. Dynamic ones are produced on the fly.
60 enum PseudoId { 59 enum PseudoId {
61 // The order must be NOP ID, public IDs, and then internal IDs. 60 // The order must be NOP ID, public IDs, and then internal IDs.
62 // If you add or remove a public ID, you must update _pseudoBits in 61 // If you add or remove a public ID, you must update _pseudoBits in
63 // ComputedStyle. 62 // ComputedStyle.
64 PseudoIdNone, 63 PseudoIdNone,
65 PseudoIdFirstLine, 64 PseudoIdFirstLine,
66 PseudoIdFirstLetter, 65 PseudoIdFirstLetter,
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 ScrollSnapTypeNone, 592 ScrollSnapTypeNone,
594 ScrollSnapTypeMandatory, 593 ScrollSnapTypeMandatory,
595 ScrollSnapTypeProximity 594 ScrollSnapTypeProximity
596 }; 595 };
597 596
598 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 597 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
599 598
600 } // namespace blink 599 } // namespace blink
601 600
602 #endif // ComputedStyleConstants_h 601 #endif // ComputedStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698