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

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

Issue 2392343005: Reflow comments in core/css (Closed)
Patch Set: Revert clang-format Created 4 years, 2 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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@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 Library General Public 6 * modify it under the terms of the GNU Library 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 virtual String getPropertyPriority(const String& propertyName) = 0; 59 virtual String getPropertyPriority(const String& propertyName) = 0;
60 virtual String getPropertyShorthand(const String& propertyName) = 0; 60 virtual String getPropertyShorthand(const String& propertyName) = 0;
61 virtual bool isPropertyImplicit(const String& propertyName) = 0; 61 virtual bool isPropertyImplicit(const String& propertyName) = 0;
62 virtual void setProperty(const String& propertyName, 62 virtual void setProperty(const String& propertyName,
63 const String& value, 63 const String& value,
64 const String& priority, 64 const String& priority,
65 ExceptionState&) = 0; 65 ExceptionState&) = 0;
66 virtual String removeProperty(const String& propertyName, 66 virtual String removeProperty(const String& propertyName,
67 ExceptionState&) = 0; 67 ExceptionState&) = 0;
68 68
69 // CSSPropertyID versions of the CSSOM functions to support bindings and editi ng. 69 // CSSPropertyID versions of the CSSOM functions to support bindings and
70 // editing.
70 // Use the non-virtual methods in the concrete subclasses when possible. 71 // Use the non-virtual methods in the concrete subclasses when possible.
71 // The CSSValue returned by this function should not be exposed to the web as it may be used by multiple documents at the same time. 72 // The CSSValue returned by this function should not be exposed to the web as
73 // it may be used by multiple documents at the same time.
72 virtual const CSSValue* getPropertyCSSValueInternal(CSSPropertyID) = 0; 74 virtual const CSSValue* getPropertyCSSValueInternal(CSSPropertyID) = 0;
73 virtual const CSSValue* getPropertyCSSValueInternal( 75 virtual const CSSValue* getPropertyCSSValueInternal(
74 AtomicString customPropertyName) = 0; 76 AtomicString customPropertyName) = 0;
75 virtual String getPropertyValueInternal(CSSPropertyID) = 0; 77 virtual String getPropertyValueInternal(CSSPropertyID) = 0;
76 virtual void setPropertyInternal(CSSPropertyID, 78 virtual void setPropertyInternal(CSSPropertyID,
77 const String& propertyValue, 79 const String& propertyValue,
78 const String& value, 80 const String& value,
79 bool important, 81 bool important,
80 ExceptionState&) = 0; 82 ExceptionState&) = 0;
81 83
82 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const = 0; 84 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const = 0;
83 virtual CSSStyleSheet* parentStyleSheet() const { return 0; } 85 virtual CSSStyleSheet* parentStyleSheet() const { return 0; }
84 86
85 DEFINE_INLINE_VIRTUAL_TRACE() {} 87 DEFINE_INLINE_VIRTUAL_TRACE() {}
86 88
87 DECLARE_VIRTUAL_TRACE_WRAPPERS(); 89 DECLARE_VIRTUAL_TRACE_WRAPPERS();
88 90
89 protected: 91 protected:
90 CSSStyleDeclaration() {} 92 CSSStyleDeclaration() {}
91 }; 93 };
92 94
93 } // namespace blink 95 } // namespace blink
94 96
95 #endif // CSSStyleDeclaration_h 97 #endif // CSSStyleDeclaration_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSSelectorList.cpp ('k') | third_party/WebKit/Source/core/css/CSSStyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698