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

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

Issue 356173002: Get rid of redundant functions Editor::indent and outdent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/editing/Editor.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 void cut(); 94 void cut();
95 void copy(); 95 void copy();
96 void paste(); 96 void paste();
97 void pasteAsPlainText(); 97 void pasteAsPlainText();
98 void performDelete(); 98 void performDelete();
99 99
100 static void countEvent(ExecutionContext*, const Event*); 100 static void countEvent(ExecutionContext*, const Event*);
101 void copyImage(const HitTestResult&); 101 void copyImage(const HitTestResult&);
102 102
103 void indent();
104 void outdent();
105 void transpose(); 103 void transpose();
106 104
107 bool shouldDeleteRange(Range*) const; 105 bool shouldDeleteRange(Range*) const;
108 106
109 void respondToChangedContents(const VisibleSelection& endingSelection); 107 void respondToChangedContents(const VisibleSelection& endingSelection);
110 108
111 bool selectionStartHasStyle(CSSPropertyID, const String& value) const; 109 bool selectionStartHasStyle(CSSPropertyID, const String& value) const;
112 TriState selectionHasStyle(CSSPropertyID, const String& value) const; 110 TriState selectionHasStyle(CSSPropertyID, const String& value) const;
113 String selectionStartCSSPropertyValue(CSSPropertyID); 111 String selectionStartCSSPropertyValue(CSSPropertyID);
114 112
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 290
293 inline bool Editor::markedTextMatchesAreHighlighted() const 291 inline bool Editor::markedTextMatchesAreHighlighted() const
294 { 292 {
295 return m_areMarkedTextMatchesHighlighted; 293 return m_areMarkedTextMatchesHighlighted;
296 } 294 }
297 295
298 296
299 } // namespace WebCore 297 } // namespace WebCore
300 298
301 #endif // Editor_h 299 #endif // Editor_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698