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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.h

Issue 1521323002: Show custom properties in the computed style pane of the inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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) 2004 Zack Rusin <zack@kde.org> 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public 6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 16 matching lines...) Expand all
27 #include "wtf/HashMap.h" 27 #include "wtf/HashMap.h"
28 #include "wtf/RefPtr.h" 28 #include "wtf/RefPtr.h"
29 #include "wtf/text/AtomicString.h" 29 #include "wtf/text/AtomicString.h"
30 #include "wtf/text/AtomicStringHash.h" 30 #include "wtf/text/AtomicStringHash.h"
31 #include "wtf/text/WTFString.h" 31 #include "wtf/text/WTFString.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class CSSPrimitiveValue; 35 class CSSPrimitiveValue;
36 class CSSValueList; 36 class CSSValueList;
37 class CSSVariableData;
37 class ExceptionState; 38 class ExceptionState;
38 class MutableStylePropertySet; 39 class MutableStylePropertySet;
39 class Node; 40 class Node;
40 class LayoutObject; 41 class LayoutObject;
41 class ComputedStyle; 42 class ComputedStyle;
42 class ShadowData; 43 class ShadowData;
43 class ShadowList; 44 class ShadowList;
44 class StyleColor; 45 class StyleColor;
45 class StylePropertyShorthand; 46 class StylePropertyShorthand;
46 47
(...skipping 10 matching lines...) Expand all
57 void deref() override; 58 void deref() override;
58 #endif 59 #endif
59 60
60 String getPropertyValue(CSSPropertyID) const; 61 String getPropertyValue(CSSPropertyID) const;
61 bool getPropertyPriority(CSSPropertyID) const; 62 bool getPropertyPriority(CSSPropertyID) const;
62 63
63 PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyProperties() const; 64 PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyProperties() const;
64 65
65 PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValue(CSSPropertyID) const; 66 PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValue(CSSPropertyID) const;
66 PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValue(AtomicString customProp ertyName) const; 67 PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValue(AtomicString customProp ertyName) const;
68 const HashMap<AtomicString, RefPtr<CSSVariableData>>* getVariables() const;
67 69
68 PassRefPtrWillBeRawPtr<CSSValue> getFontSizeCSSValuePreferringKeyword() cons t; 70 PassRefPtrWillBeRawPtr<CSSValue> getFontSizeCSSValuePreferringKeyword() cons t;
69 bool isMonospaceFont() const; 71 bool isMonospaceFont() const;
70 72
71 PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyPropertiesInSet(const Ve ctor<CSSPropertyID>&) const; 73 PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyPropertiesInSet(const Ve ctor<CSSPropertyID>&) const;
72 74
73 DECLARE_VIRTUAL_TRACE(); 75 DECLARE_VIRTUAL_TRACE();
74 76
75 private: 77 private:
76 CSSComputedStyleDeclaration(PassRefPtrWillBeRawPtr<Node>, bool allowVisitedS tyle, const String&); 78 CSSComputedStyleDeclaration(PassRefPtrWillBeRawPtr<Node>, bool allowVisitedS tyle, const String&);
(...skipping 30 matching lines...) Expand all
107 PseudoId m_pseudoElementSpecifier; 109 PseudoId m_pseudoElementSpecifier;
108 bool m_allowVisitedStyle; 110 bool m_allowVisitedStyle;
109 #if !ENABLE(OILPAN) 111 #if !ENABLE(OILPAN)
110 unsigned m_refCount; 112 unsigned m_refCount;
111 #endif 113 #endif
112 }; 114 };
113 115
114 } // namespace blink 116 } // namespace blink
115 117
116 #endif // CSSComputedStyleDeclaration_h 118 #endif // CSSComputedStyleDeclaration_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698