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

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

Issue 2723883005: Add registered custom property wrapping support to CSSAnimatableValueFactory (Closed)
Patch Set: Rebased 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
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 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
6 * rights reserved. 6 * rights reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 2386 matching lines...) Expand 10 before | Expand all | Expand 10 after
2397 2397
2398 // Handles both inherited and non-inherited variables 2398 // Handles both inherited and non-inherited variables
2399 CSSVariableData* getVariable(const AtomicString&) const; 2399 CSSVariableData* getVariable(const AtomicString&) const;
2400 2400
2401 CSSVariableData* getVariable(const AtomicString&, 2401 CSSVariableData* getVariable(const AtomicString&,
2402 bool isInheritedProperty) const; 2402 bool isInheritedProperty) const;
2403 2403
2404 const CSSValue* getRegisteredVariable(const AtomicString&, 2404 const CSSValue* getRegisteredVariable(const AtomicString&,
2405 bool isInheritedProperty) const; 2405 bool isInheritedProperty) const;
2406 2406
2407 const CSSValue* getRegisteredVariable(const AtomicString&) const;
2408
2407 // Animations. 2409 // Animations.
2408 CSSAnimationData& accessAnimations(); 2410 CSSAnimationData& accessAnimations();
2409 const CSSAnimationData* animations() const { 2411 const CSSAnimationData* animations() const {
2410 return m_rareNonInheritedData->m_animations.get(); 2412 return m_rareNonInheritedData->m_animations.get();
2411 } 2413 }
2412 2414
2413 // Transitions. 2415 // Transitions.
2414 const CSSTransitionData* transitions() const { 2416 const CSSTransitionData* transitions() const {
2415 return m_rareNonInheritedData->m_transitions.get(); 2417 return m_rareNonInheritedData->m_transitions.get();
2416 } 2418 }
(...skipping 1388 matching lines...) Expand 10 before | Expand all | Expand 10 after
3805 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); 3807 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1);
3806 } 3808 }
3807 3809
3808 inline bool ComputedStyle::hasPseudoElementStyle() const { 3810 inline bool ComputedStyle::hasPseudoElementStyle() const {
3809 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; 3811 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask;
3810 } 3812 }
3811 3813
3812 } // namespace blink 3814 } // namespace blink
3813 3815
3814 #endif // ComputedStyle_h 3816 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698