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

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

Issue 2931443003: Add support for Android spellcheck menu in Chrome/WebViews (Closed)
Patch Set: Respond to yosin@'s comments Created 3 years, 6 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) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 switch (GetInputType()) { 98 switch (GetInputType()) {
99 case InputEvent::InputType::kInsertText: 99 case InputEvent::InputType::kInsertText:
100 case InputEvent::InputType::kInsertLineBreak: 100 case InputEvent::InputType::kInsertLineBreak:
101 case InputEvent::InputType::kInsertParagraph: 101 case InputEvent::InputType::kInsertParagraph:
102 case InputEvent::InputType::kInsertFromPaste: 102 case InputEvent::InputType::kInsertFromPaste:
103 case InputEvent::InputType::kInsertFromDrop: 103 case InputEvent::InputType::kInsertFromDrop:
104 case InputEvent::InputType::kInsertFromYank: 104 case InputEvent::InputType::kInsertFromYank:
105 case InputEvent::InputType::kInsertTranspose: 105 case InputEvent::InputType::kInsertTranspose:
106 case InputEvent::InputType::kInsertReplacementText: 106 case InputEvent::InputType::kInsertReplacementText:
107 case InputEvent::InputType::kInsertCompositionText: 107 case InputEvent::InputType::kInsertCompositionText:
108 case InputEvent::InputType::kDeleteByComposition:
108 case InputEvent::InputType::kDeleteWordBackward: 109 case InputEvent::InputType::kDeleteWordBackward:
109 case InputEvent::InputType::kDeleteWordForward: 110 case InputEvent::InputType::kDeleteWordForward:
110 case InputEvent::InputType::kDeleteSoftLineBackward: 111 case InputEvent::InputType::kDeleteSoftLineBackward:
111 case InputEvent::InputType::kDeleteSoftLineForward: 112 case InputEvent::InputType::kDeleteSoftLineForward:
112 case InputEvent::InputType::kDeleteHardLineBackward: 113 case InputEvent::InputType::kDeleteHardLineBackward:
113 case InputEvent::InputType::kDeleteHardLineForward: 114 case InputEvent::InputType::kDeleteHardLineForward:
114 case InputEvent::InputType::kDeleteContentBackward: 115 case InputEvent::InputType::kDeleteContentBackward:
115 case InputEvent::InputType::kDeleteContentForward: 116 case InputEvent::InputType::kDeleteContentForward:
116 case InputEvent::InputType::kDeleteByCut: 117 case InputEvent::InputType::kDeleteByCut:
117 case InputEvent::InputType::kDeleteByDrag: 118 case InputEvent::InputType::kDeleteByDrag:
(...skipping 1857 matching lines...) Expand 10 before | Expand all | Expand 10 after
1975 1976
1976 DEFINE_TRACE(CompositeEditCommand) { 1977 DEFINE_TRACE(CompositeEditCommand) {
1977 visitor->Trace(commands_); 1978 visitor->Trace(commands_);
1978 visitor->Trace(starting_selection_); 1979 visitor->Trace(starting_selection_);
1979 visitor->Trace(ending_selection_); 1980 visitor->Trace(ending_selection_);
1980 visitor->Trace(undo_step_); 1981 visitor->Trace(undo_step_);
1981 EditCommand::Trace(visitor); 1982 EditCommand::Trace(visitor);
1982 } 1983 }
1983 1984
1984 } // namespace blink 1985 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698