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

Side by Side Diff: Source/core/editing/RemoveCSSPropertyCommand.h

Issue 23739003: Remove getNodesInCommand debug method from Editing commands (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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 * 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
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
OLDNEW
« no previous file with comments | « Source/core/editing/MergeIdenticalElementsCommand.cpp ('k') | Source/core/editing/RemoveCSSPropertyCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698