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

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

Issue 2473743003: Call Element::rebuildLayoutTree from Document::updateStyle directly (Closed)
Patch Set: Remove redundant clear for root's NeedReattachLayoutTree flag 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 enum BoxSide { BSTop, BSRight, BSBottom, BSLeft }; 43 enum BoxSide { BSTop, BSRight, BSBottom, BSLeft };
44 44
45 // See core/dom/stylerecalc.md for an explanation on what each state means 45 // See core/dom/stylerecalc.md for an explanation on what each state means
46 enum StyleRecalcChange { 46 enum StyleRecalcChange {
47 NoChange, 47 NoChange,
48 NoInherit, 48 NoInherit,
49 UpdatePseudoElements, 49 UpdatePseudoElements,
50 IndependentInherit, 50 IndependentInherit,
51 Inherit, 51 Inherit,
52 Force, 52 Force,
53 Reattach, 53 Reattach
54 ReattachNoLayoutObject
55 }; 54 };
56 55
57 // Static pseudo styles. Dynamic ones are produced on the fly. 56 // Static pseudo styles. Dynamic ones are produced on the fly.
58 enum PseudoId { 57 enum PseudoId {
59 // The order must be NOP ID, public IDs, and then internal IDs. 58 // The order must be NOP ID, public IDs, and then internal IDs.
60 // If you add or remove a public ID, you must update _pseudoBits in 59 // If you add or remove a public ID, you must update _pseudoBits in
61 // ComputedStyle. 60 // ComputedStyle.
62 PseudoIdNone, 61 PseudoIdNone,
63 PseudoIdFirstLine, 62 PseudoIdFirstLine,
64 PseudoIdFirstLetter, 63 PseudoIdFirstLetter,
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 ScrollSnapTypeNone, 606 ScrollSnapTypeNone,
608 ScrollSnapTypeMandatory, 607 ScrollSnapTypeMandatory,
609 ScrollSnapTypeProximity 608 ScrollSnapTypeProximity
610 }; 609 };
611 610
612 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 611 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
613 612
614 } // namespace blink 613 } // namespace blink
615 614
616 #endif // ComputedStyleConstants_h 615 #endif // ComputedStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698