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

Side by Side Diff: third_party/WebKit/Source/core/editing/Editor.cpp

Issue 2387263004: Manually remove many instances of a comma quirk arising from the reformat. (Closed)
Patch Set: merge with master; thakis nit Created 4 years, 2 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) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 } 892 }
893 893
894 Editor* Editor::create(LocalFrame& frame) { 894 Editor* Editor::create(LocalFrame& frame) {
895 return new Editor(frame); 895 return new Editor(frame);
896 } 896 }
897 897
898 Editor::Editor(LocalFrame& frame) 898 Editor::Editor(LocalFrame& frame)
899 : m_frame(&frame), 899 : m_frame(&frame),
900 m_undoStack(UndoStack::create()), 900 m_undoStack(UndoStack::create()),
901 m_preventRevealSelection(0), 901 m_preventRevealSelection(0),
902 m_shouldStartNewKillRingSequence(false) 902 m_shouldStartNewKillRingSequence(false),
903 // This is off by default, since most editors want this behavior (this mat ches IE but not FF). 903 // This is off by default, since most editors want this behavior (this mat ches IE but not FF).
904 ,
905 m_shouldStyleWithCSS(false), 904 m_shouldStyleWithCSS(false),
906 m_killRing(wrapUnique(new KillRing)), 905 m_killRing(wrapUnique(new KillRing)),
907 m_areMarkedTextMatchesHighlighted(false), 906 m_areMarkedTextMatchesHighlighted(false),
908 m_defaultParagraphSeparator(EditorParagraphSeparatorIsDiv), 907 m_defaultParagraphSeparator(EditorParagraphSeparatorIsDiv),
909 m_overwriteModeEnabled(false) {} 908 m_overwriteModeEnabled(false) {}
910 909
911 Editor::~Editor() {} 910 Editor::~Editor() {}
912 911
913 void Editor::clear() { 912 void Editor::clear() {
914 frame().inputMethodController().clear(); 913 frame().inputMethodController().clear();
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
1612 } 1611 }
1613 1612
1614 DEFINE_TRACE(Editor) { 1613 DEFINE_TRACE(Editor) {
1615 visitor->trace(m_frame); 1614 visitor->trace(m_frame);
1616 visitor->trace(m_lastEditCommand); 1615 visitor->trace(m_lastEditCommand);
1617 visitor->trace(m_undoStack); 1616 visitor->trace(m_undoStack);
1618 visitor->trace(m_mark); 1617 visitor->trace(m_mark);
1619 } 1618 }
1620 1619
1621 } // namespace blink 1620 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleEngine.cpp ('k') | third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698