OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2008 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 29 matching lines...) Expand all Loading... |
40 return adoptRef(new RemoveCSSPropertyCommand(document, element, property
)); | 40 return adoptRef(new RemoveCSSPropertyCommand(document, element, property
)); |
41 } | 41 } |
42 | 42 |
43 private: | 43 private: |
44 RemoveCSSPropertyCommand(Document&, PassRefPtr<Element>, CSSPropertyID); | 44 RemoveCSSPropertyCommand(Document&, PassRefPtr<Element>, CSSPropertyID); |
45 ~RemoveCSSPropertyCommand(); | 45 ~RemoveCSSPropertyCommand(); |
46 | 46 |
47 virtual void doApply() OVERRIDE; | 47 virtual void doApply() OVERRIDE; |
48 virtual void doUnapply() OVERRIDE; | 48 virtual void doUnapply() OVERRIDE; |
49 | 49 |
50 #ifndef NDEBUG | |
51 virtual void getNodesInCommand(HashSet<Node*>&) OVERRIDE; | |
52 #endif | |
53 | |
54 RefPtr<Element> m_element; | 50 RefPtr<Element> m_element; |
55 CSSPropertyID m_property; | 51 CSSPropertyID m_property; |
56 String m_oldValue; | 52 String m_oldValue; |
57 bool m_important; | 53 bool m_important; |
58 }; | 54 }; |
59 | 55 |
60 } // namespace WebCore | 56 } // namespace WebCore |
61 | 57 |
62 #endif // RemoveCSSPropertyCommand_h | 58 #endif // RemoveCSSPropertyCommand_h |
OLD | NEW |