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

Unified Diff: Source/core/editing/Editor.h

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 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
« no previous file with comments | « Source/core/editing/EditingStyle.cpp ('k') | Source/core/editing/Editor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/Editor.h
diff --git a/Source/core/editing/Editor.h b/Source/core/editing/Editor.h
index 5d703020f9d42687dd3f0505161d6377c7831539..e78c9c069520f5cf23e14131938143aa97bd6db3 100644
--- a/Source/core/editing/Editor.h
+++ b/Source/core/editing/Editor.h
@@ -20,7 +20,7 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef Editor_h
@@ -64,9 +64,9 @@ class TextEvent;
struct TextCheckingResult;
struct CompositionUnderline {
- CompositionUnderline()
+ CompositionUnderline()
: startOffset(0), endOffset(0), thick(false) { }
- CompositionUnderline(unsigned s, unsigned e, const Color& c, bool t)
+ CompositionUnderline(unsigned s, unsigned e, const Color& c, bool t)
: startOffset(s), endOffset(e), color(c), thick(t) { }
unsigned startOffset;
unsigned endOffset;
@@ -131,7 +131,7 @@ public:
bool selectionStartHasStyle(CSSPropertyID, const String& value) const;
TriState selectionHasStyle(CSSPropertyID, const String& value) const;
String selectionStartCSSPropertyValue(CSSPropertyID);
-
+
TriState selectionUnorderedListState() const;
TriState selectionOrderedListState() const;
PassRefPtr<Node> insertOrderedList();
@@ -142,7 +142,7 @@ public:
PassRefPtr<Node> increaseSelectionListLevelOrdered();
PassRefPtr<Node> increaseSelectionListLevelUnordered();
void decreaseSelectionListLevel();
-
+
void removeFormattingAndStyle();
void clearLastEditCommand();
@@ -150,7 +150,7 @@ public:
bool deleteWithDirection(SelectionDirection, TextGranularity, bool killRing, bool isTypingAction);
void deleteSelectionWithSmartDelete(bool smartDelete);
bool dispatchCPPEvent(const AtomicString&, ClipboardAccessPolicy);
-
+
Node* removedAnchor() const { return m_removedAnchor.get(); }
void setRemovedAnchor(PassRefPtr<Node> n) { m_removedAnchor = n; }
@@ -232,7 +232,7 @@ public:
void setBaseWritingDirection(WritingDirection);
- // smartInsertDeleteEnabled and selectTrailingWhitespaceEnabled are
+ // smartInsertDeleteEnabled and selectTrailingWhitespaceEnabled are
// mutually exclusive, meaning that enabling one will disable the other.
bool smartInsertDeleteEnabled();
bool isSelectTrailingWhitespaceEnabled();
@@ -275,7 +275,7 @@ public:
EditingBehavior behavior() const;
PassRefPtr<Range> selectedRange();
-
+
void addToKillRing(Range*, bool prepend);
void pasteAsFragment(PassRefPtr<DocumentFragment>, bool smartReplace, bool matchStyle);
@@ -283,7 +283,7 @@ public:
// This is only called on the mac where paste is implemented primarily at the WebKit level.
void pasteAsPlainTextBypassingDHTML();
-
+
void clearMisspellingsAndBadGrammar(const VisibleSelection&);
void markMisspellingsAndBadGrammar(const VisibleSelection&);
@@ -322,7 +322,7 @@ public:
void replaceSelectionWithText(const String&, bool selectReplacement, bool smartReplace);
bool selectionStartHasMarkerFor(DocumentMarker::MarkerType, int from, int length) const;
void updateMarkersForWordsAffectedByEditing(bool onlyHandleWordsContainingSelection);
-
+
void simplifyMarkup(Node* startNode, Node* endNode);
void deviceScaleFactorChanged();
« no previous file with comments | « Source/core/editing/EditingStyle.cpp ('k') | Source/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698