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

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

Issue 2106073005: Add fast-path for propagated variable changes (WIP) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@+pointer_events_fastpath_5
Patch Set: Rebase Created 4 years, 1 month 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 30 matching lines...) Expand all
41 // Sides used when drawing borders and outlines. The values should run clockwise 41 // Sides used when drawing borders and outlines. The values should run clockwise
42 // from top. 42 // from top.
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 IndependentInheritWithVariables,
51 Inherit, 52 Inherit,
52 Force, 53 Force,
53 Reattach, 54 Reattach,
54 ReattachNoLayoutObject 55 ReattachNoLayoutObject
55 }; 56 };
56 57
57 static const size_t PrintColorAdjustBits = 1; 58 static const size_t PrintColorAdjustBits = 1;
58 enum PrintColorAdjust { PrintColorAdjustEconomy, PrintColorAdjustExact }; 59 enum PrintColorAdjust { PrintColorAdjustEconomy, PrintColorAdjustExact };
59 60
60 // Static pseudo styles. Dynamic ones are produced on the fly. 61 // Static pseudo styles. Dynamic ones are produced on the fly.
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 ScrollSnapTypeNone, 717 ScrollSnapTypeNone,
717 ScrollSnapTypeMandatory, 718 ScrollSnapTypeMandatory,
718 ScrollSnapTypeProximity 719 ScrollSnapTypeProximity
719 }; 720 };
720 721
721 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 722 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
722 723
723 } // namespace blink 724 } // namespace blink
724 725
725 #endif // ComputedStyleConstants_h 726 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | third_party/WebKit/Source/core/style/StyleInheritedVariables.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698