diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
commit | 635860845790a19bf50bbc51ba8fb66a96dde068 (patch) | |
tree | ef6ad9ff73a5b57f65249d4232a202fa77e6a140 /WebCore/editing/RemoveCSSPropertyCommand.h | |
parent | 8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (diff) | |
download | external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.zip external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.gz external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.bz2 |
auto import from //depot/cupcake/@136594
Diffstat (limited to 'WebCore/editing/RemoveCSSPropertyCommand.h')
-rw-r--r-- | WebCore/editing/RemoveCSSPropertyCommand.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/WebCore/editing/RemoveCSSPropertyCommand.h b/WebCore/editing/RemoveCSSPropertyCommand.h index 8a96b4b..fd81307 100644 --- a/WebCore/editing/RemoveCSSPropertyCommand.h +++ b/WebCore/editing/RemoveCSSPropertyCommand.h @@ -27,26 +27,25 @@ #define RemoveCSSPropertyCommand_h #include "EditCommand.h" +#include "CSSPropertyNames.h" namespace WebCore { -class CSSStyleDeclaration; - class RemoveCSSPropertyCommand : public SimpleEditCommand { public: - static PassRefPtr<RemoveCSSPropertyCommand> create(Document* document, CSSStyleDeclaration* style, int property) + static PassRefPtr<RemoveCSSPropertyCommand> create(Document* document, PassRefPtr<CSSMutableStyleDeclaration> style, CSSPropertyID property) { return adoptRef(new RemoveCSSPropertyCommand(document, style, property)); } private: - RemoveCSSPropertyCommand(Document*, CSSStyleDeclaration*, int property); + RemoveCSSPropertyCommand(Document*, PassRefPtr<CSSMutableStyleDeclaration>, CSSPropertyID property); virtual void doApply(); virtual void doUnapply(); - RefPtr<CSSMutableStyleDeclaration> m_decl; - int m_property; + RefPtr<CSSMutableStyleDeclaration> m_style; + CSSPropertyID m_property; String m_oldValue; bool m_important; }; |