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

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

Issue 1680803003: Add additive animation support for CSS property background-position (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant braces Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/wtf/RefVector.h » ('j') | 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, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 friend class AnimatedStyleBuilder; // Used by Web Animations CSS. Sets the c olor styles 133 friend class AnimatedStyleBuilder; // Used by Web Animations CSS. Sets the c olor styles
134 friend class CSSAnimatableValueFactory; // Used by Web Animations CSS. Gets visited and unvisited colors separately. 134 friend class CSSAnimatableValueFactory; // Used by Web Animations CSS. Gets visited and unvisited colors separately.
135 friend class CSSPropertyEquality; // Used by CSS animations. We can't allow them to animate based off visited colors. 135 friend class CSSPropertyEquality; // Used by CSS animations. We can't allow them to animate based off visited colors.
136 friend class ApplyStyleCommand; // Editing has to only reveal unvisited info . 136 friend class ApplyStyleCommand; // Editing has to only reveal unvisited info .
137 friend class EditingStyle; // Editing has to only reveal unvisited info. 137 friend class EditingStyle; // Editing has to only reveal unvisited info.
138 friend class ComputedStyleCSSValueMapping; // Needs to be able to see visite d and unvisited colors for devtools. 138 friend class ComputedStyleCSSValueMapping; // Needs to be able to see visite d and unvisited colors for devtools.
139 friend class StyleBuilderFunctions; // Sets color styles 139 friend class StyleBuilderFunctions; // Sets color styles
140 friend class CachedUAStyle; // Saves Border/Background information for later comparison. 140 friend class CachedUAStyle; // Saves Border/Background information for later comparison.
141 friend class ColorPropertyFunctions; // Reads initial style values and acces ses visited and unvisited colors. 141 friend class ColorPropertyFunctions; // Reads initial style values and acces ses visited and unvisited colors.
142 friend class LengthPropertyFunctions; // Reads initial style values. 142 friend class LengthPropertyFunctions; // Reads initial style values.
143 friend class LengthListPropertyFunctions; // Reads initial style values.
143 friend class NumberPropertyFunctions; // Reads initial style values. 144 friend class NumberPropertyFunctions; // Reads initial style values.
144 friend class PaintPropertyFunctions; // Reads initial style values. 145 friend class PaintPropertyFunctions; // Reads initial style values.
145 146
146 // FIXME: When we stop resolving currentColor at style time, these can be re moved. 147 // FIXME: When we stop resolving currentColor at style time, these can be re moved.
147 friend class CSSToStyleMap; 148 friend class CSSToStyleMap;
148 friend class FilterOperationResolver; 149 friend class FilterOperationResolver;
149 friend class StyleBuilderConverter; 150 friend class StyleBuilderConverter;
150 friend class StyleResolverState; 151 friend class StyleResolverState;
151 friend class StyleResolver; 152 friend class StyleResolver;
152 protected: 153 protected:
(...skipping 1873 matching lines...) Expand 10 before | Expand all | Expand 10 after
2026 } 2027 }
2027 2028
2028 inline bool ComputedStyle::hasPseudoElementStyle() const 2029 inline bool ComputedStyle::hasPseudoElementStyle() const
2029 { 2030 {
2030 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 2031 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
2031 } 2032 }
2032 2033
2033 } // namespace blink 2034 } // namespace blink
2034 2035
2035 #endif // ComputedStyle_h 2036 #endif // ComputedStyle_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/wtf/RefVector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698