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

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

Issue 2117543003: [InputEvent] Fill |data| field for 'input' event InsertText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add tests for InputEvent.data Created 4 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
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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 bool CompositeEditCommand::preservesTypingStyle() const 229 bool CompositeEditCommand::preservesTypingStyle() const
230 { 230 {
231 return false; 231 return false;
232 } 232 }
233 233
234 bool CompositeEditCommand::isTypingCommand() const 234 bool CompositeEditCommand::isTypingCommand() const
235 { 235 {
236 return false; 236 return false;
237 } 237 }
238 238
239 bool CompositeEditCommand::isInsertTextCommand() const
240 {
241 return false;
242 }
243
239 bool CompositeEditCommand::isReplaceSelectionCommand() const 244 bool CompositeEditCommand::isReplaceSelectionCommand() const
240 { 245 {
241 return false; 246 return false;
242 } 247 }
243 248
244 void CompositeEditCommand::setShouldRetainAutocorrectionIndicator(bool) 249 void CompositeEditCommand::setShouldRetainAutocorrectionIndicator(bool)
245 { 250 {
246 } 251 }
247 252
248 // 253 //
(...skipping 1369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1618 } 1623 }
1619 1624
1620 DEFINE_TRACE(CompositeEditCommand) 1625 DEFINE_TRACE(CompositeEditCommand)
1621 { 1626 {
1622 visitor->trace(m_commands); 1627 visitor->trace(m_commands);
1623 visitor->trace(m_composition); 1628 visitor->trace(m_composition);
1624 EditCommand::trace(visitor); 1629 EditCommand::trace(visitor);
1625 } 1630 }
1626 1631
1627 } // namespace blink 1632 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698