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

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

Issue 2473743003: Call Element::rebuildLayoutTree from Document::updateStyle directly (Closed)
Patch Set: Make needsAttach() only check if getStyleChangeType flag is NeedsReattachStyleChange and add a Layo… Created 3 years, 9 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/core/html/HTMLFrameSetElement.cpp ('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 /* 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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 ScrollSnapTypeNone, 567 ScrollSnapTypeNone,
569 ScrollSnapTypeMandatory, 568 ScrollSnapTypeMandatory,
570 ScrollSnapTypeProximity 569 ScrollSnapTypeProximity
571 }; 570 };
572 571
573 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 572 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
574 573
575 } // namespace blink 574 } // namespace blink
576 575
577 #endif // ComputedStyleConstants_h 576 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFrameSetElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698