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

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

Issue 1636883003: Perform Spellcheck Requesting before Dispatching Events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 279
280 void revealSelectionAfterEditingOperation(const ScrollAlignment& = ScrollAli gnment::alignCenterIfNeeded, RevealExtentOption = DoNotRevealExtent); 280 void revealSelectionAfterEditingOperation(const ScrollAlignment& = ScrollAli gnment::alignCenterIfNeeded, RevealExtentOption = DoNotRevealExtent);
281 void changeSelectionAfterCommand(const VisibleSelection& newSelection, Frame Selection::SetSelectionOptions); 281 void changeSelectionAfterCommand(const VisibleSelection& newSelection, Frame Selection::SetSelectionOptions);
282 void notifyComponentsOnChangedSelection(const VisibleSelection& oldSelection , FrameSelection::SetSelectionOptions); 282 void notifyComponentsOnChangedSelection(const VisibleSelection& oldSelection , FrameSelection::SetSelectionOptions);
283 283
284 Element* findEventTargetFromSelection() const; 284 Element* findEventTargetFromSelection() const;
285 285
286 SpellChecker& spellChecker() const; 286 SpellChecker& spellChecker() const;
287 287
288 bool handleEditingKeyboardEvent(KeyboardEvent*); 288 bool handleEditingKeyboardEvent(KeyboardEvent*);
289 void requestSpellcheckingAfterApplyingCommand(CompositeEditCommand*);
289 }; 290 };
290 291
291 inline void Editor::setStartNewKillRingSequence(bool flag) 292 inline void Editor::setStartNewKillRingSequence(bool flag)
292 { 293 {
293 m_shouldStartNewKillRingSequence = flag; 294 m_shouldStartNewKillRingSequence = flag;
294 } 295 }
295 296
296 inline const VisibleSelection& Editor::mark() const 297 inline const VisibleSelection& Editor::mark() const
297 { 298 {
298 return m_mark; 299 return m_mark;
299 } 300 }
300 301
301 inline void Editor::setMark(const VisibleSelection& selection) 302 inline void Editor::setMark(const VisibleSelection& selection)
302 { 303 {
303 m_mark = selection; 304 m_mark = selection;
304 } 305 }
305 306
306 inline bool Editor::markedTextMatchesAreHighlighted() const 307 inline bool Editor::markedTextMatchesAreHighlighted() const
307 { 308 {
308 return m_areMarkedTextMatchesHighlighted; 309 return m_areMarkedTextMatchesHighlighted;
309 } 310 }
310 311
311 312
312 } // namespace blink 313 } // namespace blink
313 314
314 #endif // Editor_h 315 #endif // Editor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698