OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #ifndef PropertySetCSSStyleDeclaration_h | 26 #ifndef PropertySetCSSStyleDeclaration_h |
27 #define PropertySetCSSStyleDeclaration_h | 27 #define PropertySetCSSStyleDeclaration_h |
28 | 28 |
29 #include "core/css/CSSStyleDeclaration.h" | 29 #include "core/css/CSSStyleDeclaration.h" |
30 #include "wtf/HashMap.h" | 30 #include "wtf/HashMap.h" |
31 #include "wtf/OwnPtr.h" | 31 #include "wtf/OwnPtr.h" |
32 | 32 |
33 namespace blink { | 33 namespace blink { |
34 | 34 |
35 class CSSProperty; | |
36 class CSSRule; | 35 class CSSRule; |
37 class CSSValue; | 36 class CSSValue; |
38 class Element; | 37 class Element; |
39 class ExceptionState; | 38 class ExceptionState; |
40 class MutableStylePropertySet; | 39 class MutableStylePropertySet; |
41 class StyleSheetContents; | 40 class StyleSheetContents; |
42 | 41 |
43 class AbstractPropertySetCSSStyleDeclaration : public CSSStyleDeclaration { | 42 class AbstractPropertySetCSSStyleDeclaration : public CSSStyleDeclaration { |
44 public: | 43 public: |
45 virtual Element* parentElement() const { return 0; } | 44 virtual Element* parentElement() const { return 0; } |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 virtual Element* parentElement() const OVERRIDE { return m_parentElement; } | 150 virtual Element* parentElement() const OVERRIDE { return m_parentElement; } |
152 | 151 |
153 virtual void didMutate(MutationType) OVERRIDE; | 152 virtual void didMutate(MutationType) OVERRIDE; |
154 | 153 |
155 RawPtrWillBeMember<Element> m_parentElement; | 154 RawPtrWillBeMember<Element> m_parentElement; |
156 }; | 155 }; |
157 | 156 |
158 } // namespace blink | 157 } // namespace blink |
159 | 158 |
160 #endif | 159 #endif |
OLD | NEW |