OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 | 418 |
419 // ------------------------------------------------------------------------- | 419 // ------------------------------------------------------------------------- |
420 // Events | 420 // Events |
421 // ------------------------------------------------------------------------- | 421 // ------------------------------------------------------------------------- |
422 | 422 |
423 // Functions dispatch InputEvent | 423 // Functions dispatch InputEvent |
424 const StaticRangeVector* targetRangesForInputEvent(const Node&); | 424 const StaticRangeVector* targetRangesForInputEvent(const Node&); |
425 DispatchEventResult dispatchBeforeInputInsertText( | 425 DispatchEventResult dispatchBeforeInputInsertText( |
426 Node*, | 426 Node*, |
427 const String& data, | 427 const String& data, |
428 InputEvent::InputType = InputEvent::InputType::InsertText); | 428 InputEvent::InputType = InputEvent::InputType::InsertText, |
| 429 const StaticRangeVector* = nullptr); |
429 DispatchEventResult dispatchBeforeInputEditorCommand(Node*, | 430 DispatchEventResult dispatchBeforeInputEditorCommand(Node*, |
430 InputEvent::InputType, | 431 InputEvent::InputType, |
431 const StaticRangeVector*); | 432 const StaticRangeVector*); |
432 DispatchEventResult dispatchBeforeInputDataTransfer(Node*, | 433 DispatchEventResult dispatchBeforeInputDataTransfer(Node*, |
433 InputEvent::InputType, | 434 InputEvent::InputType, |
434 DataTransfer*); | 435 DataTransfer*); |
435 | 436 |
436 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, | 437 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, |
437 TextGranularity); | 438 TextGranularity); |
438 | 439 |
439 } // namespace blink | 440 } // namespace blink |
440 | 441 |
441 #endif | 442 #endif |
OLD | NEW |