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

Side by Side Diff: sky/engine/core/editing/Editor.h

Issue 780443002: Remove dead code from EditingStyle. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: try again Created 6 years 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 | « sky/engine/core/editing/EditingStyle.cpp ('k') | sky/engine/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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 static void countEvent(ExecutionContext*, const Event*); 95 static void countEvent(ExecutionContext*, const Event*);
96 void copyImage(const HitTestResult&); 96 void copyImage(const HitTestResult&);
97 97
98 void transpose(); 98 void transpose();
99 99
100 bool shouldDeleteRange(Range*) const; 100 bool shouldDeleteRange(Range*) const;
101 101
102 void respondToChangedContents(const VisibleSelection& endingSelection); 102 void respondToChangedContents(const VisibleSelection& endingSelection);
103 103
104 bool selectionStartHasStyle(CSSPropertyID, const String& value) const;
105 TriState selectionHasStyle(CSSPropertyID, const String& value) const;
106 String selectionStartCSSPropertyValue(CSSPropertyID);
107
108 void clearLastEditCommand(); 104 void clearLastEditCommand();
109 105
110 bool deleteWithDirection(SelectionDirection, TextGranularity, bool isTypingA ction); 106 bool deleteWithDirection(SelectionDirection, TextGranularity, bool isTypingA ction);
111 void deleteSelectionWithSmartDelete(bool smartDelete); 107 void deleteSelectionWithSmartDelete(bool smartDelete);
112 108
113 void appliedEditing(PassRefPtr<CompositeEditCommand>); 109 void appliedEditing(PassRefPtr<CompositeEditCommand>);
114 void unappliedEditing(PassRefPtr<EditCommandComposition>); 110 void unappliedEditing(PassRefPtr<EditCommandComposition>);
115 void reappliedEditing(PassRefPtr<EditCommandComposition>); 111 void reappliedEditing(PassRefPtr<EditCommandComposition>);
116 112
117 void setShouldStyleWithCSS(bool flag) { m_shouldStyleWithCSS = flag; } 113 void setShouldStyleWithCSS(bool flag) { m_shouldStyleWithCSS = flag; }
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 256
261 inline bool Editor::markedTextMatchesAreHighlighted() const 257 inline bool Editor::markedTextMatchesAreHighlighted() const
262 { 258 {
263 return m_areMarkedTextMatchesHighlighted; 259 return m_areMarkedTextMatchesHighlighted;
264 } 260 }
265 261
266 262
267 } // namespace blink 263 } // namespace blink
268 264
269 #endif // SKY_ENGINE_CORE_EDITING_EDITOR_H_ 265 #endif // SKY_ENGINE_CORE_EDITING_EDITOR_H_
OLDNEW
« no previous file with comments | « sky/engine/core/editing/EditingStyle.cpp ('k') | sky/engine/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698