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

Unified Diff: Source/core/editing/commands/EditorCommand.cpp

Issue 1294543005: Move execCommand related files in core/editing/ related files into core/editing/commands/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-17T17:57:33 Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/editing/commands/EditorCommand.cpp
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/commands/EditorCommand.cpp
similarity index 99%
rename from Source/core/editing/EditorCommand.cpp
rename to Source/core/editing/commands/EditorCommand.cpp
index a1decada916616fc5bac614a61f61612afe45368..72808fd31595b85de24e661ade71cbff5f1e4c56 100644
--- a/Source/core/editing/EditorCommand.cpp
+++ b/Source/core/editing/commands/EditorCommand.cpp
@@ -37,15 +37,15 @@
#include "core/css/CSSValueList.h"
#include "core/css/StylePropertySet.h"
#include "core/dom/DocumentFragment.h"
-#include "core/editing/CreateLinkCommand.h"
#include "core/editing/EditingUtilities.h"
-#include "core/editing/FormatBlockCommand.h"
#include "core/editing/FrameSelection.h"
-#include "core/editing/IndentOutdentCommand.h"
-#include "core/editing/InsertListCommand.h"
-#include "core/editing/ReplaceSelectionCommand.h"
-#include "core/editing/TypingCommand.h"
-#include "core/editing/UnlinkCommand.h"
+#include "core/editing/commands/CreateLinkCommand.h"
+#include "core/editing/commands/FormatBlockCommand.h"
+#include "core/editing/commands/IndentOutdentCommand.h"
+#include "core/editing/commands/InsertListCommand.h"
+#include "core/editing/commands/ReplaceSelectionCommand.h"
+#include "core/editing/commands/TypingCommand.h"
+#include "core/editing/commands/UnlinkCommand.h"
#include "core/editing/serializers/Serialization.h"
#include "core/editing/spellcheck/SpellChecker.h"
#include "core/events/Event.h"
@@ -150,8 +150,9 @@ static bool executeToggleStyleInList(LocalFrame& frame, EditorCommandSource sour
if (selectedCSSValueList->length())
newStyle = selectedCSSValueList->cssText();
- } else if (selectedCSSValue->cssText() == "none")
+ } else if (selectedCSSValue->cssText() == "none") {
newStyle = value->cssText();
+ }
// FIXME: We shouldn't be having to convert new style into text. We should have setPropertyCSSValue.
RefPtrWillBeRawPtr<MutableStylePropertySet> newMutableStyle = MutableStylePropertySet::create();

Powered by Google App Engine
This is Rietveld 408576698