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

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 2381 matching lines...) Expand 10 before | Expand all | Expand 10 after
2392 2392
2393 // Handles both inherited and non-inherited variables 2393 // Handles both inherited and non-inherited variables
2394 CSSVariableData* getVariable(const AtomicString&) const; 2394 CSSVariableData* getVariable(const AtomicString&) const;
2395 2395
2396 CSSVariableData* getVariable(const AtomicString&, 2396 CSSVariableData* getVariable(const AtomicString&,
2397 bool isInheritedProperty) const; 2397 bool isInheritedProperty) const;
2398 2398
2399 const CSSValue* getRegisteredVariable(const AtomicString&, 2399 const CSSValue* getRegisteredVariable(const AtomicString&,
2400 bool isInheritedProperty) const; 2400 bool isInheritedProperty) const;
2401 2401
2402 const CSSValue* getRegisteredVariable(const AtomicString&) const;
2403
2402 // Animations. 2404 // Animations.
2403 CSSAnimationData& accessAnimations(); 2405 CSSAnimationData& accessAnimations();
2404 const CSSAnimationData* animations() const { 2406 const CSSAnimationData* animations() const {
2405 return m_rareNonInheritedData->m_animations.get(); 2407 return m_rareNonInheritedData->m_animations.get();
2406 } 2408 }
2407 2409
2408 // Transitions. 2410 // Transitions.
2409 const CSSTransitionData* transitions() const { 2411 const CSSTransitionData* transitions() const {
2410 return m_rareNonInheritedData->m_transitions.get(); 2412 return m_rareNonInheritedData->m_transitions.get();
2411 } 2413 }
(...skipping 1388 matching lines...) Expand 10 before | Expand all | Expand 10 after
3800 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - FirstPublicPseudoId); 3802 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - FirstPublicPseudoId);
3801 } 3803 }
3802 3804
3803 inline bool ComputedStyle::hasPseudoElementStyle() const { 3805 inline bool ComputedStyle::hasPseudoElementStyle() const {
3804 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; 3806 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask;
3805 } 3807 }
3806 3808
3807 } // namespace blink 3809 } // namespace blink
3808 3810
3809 #endif // ComputedStyle_h 3811 #endif // ComputedStyle_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698