| 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 | 431 |
| 432 // ------------------------------------------------------------------------- | 432 // ------------------------------------------------------------------------- |
| 433 // Events | 433 // Events |
| 434 // ------------------------------------------------------------------------- | 434 // ------------------------------------------------------------------------- |
| 435 | 435 |
| 436 // Functions dispatch InputEvent | 436 // Functions dispatch InputEvent |
| 437 const StaticRangeVector* targetRangesForInputEvent(const Node&); | 437 const StaticRangeVector* targetRangesForInputEvent(const Node&); |
| 438 DispatchEventResult dispatchBeforeInputInsertText( | 438 DispatchEventResult dispatchBeforeInputInsertText( |
| 439 Node*, | 439 Node*, |
| 440 const String& data, | 440 const String& data, |
| 441 InputEvent::InputType = InputEvent::InputType::InsertText); | 441 InputEvent::InputType = InputEvent::InputType::InsertText, |
| 442 const StaticRangeVector* = nullptr); |
| 442 DispatchEventResult dispatchBeforeInputEditorCommand(Node*, | 443 DispatchEventResult dispatchBeforeInputEditorCommand(Node*, |
| 443 InputEvent::InputType, | 444 InputEvent::InputType, |
| 444 const StaticRangeVector*); | 445 const StaticRangeVector*); |
| 445 DispatchEventResult dispatchBeforeInputDataTransfer(Node*, | 446 DispatchEventResult dispatchBeforeInputDataTransfer(Node*, |
| 446 InputEvent::InputType, | 447 InputEvent::InputType, |
| 447 DataTransfer*); | 448 DataTransfer*); |
| 448 | 449 |
| 449 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, | 450 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, |
| 450 TextGranularity); | 451 TextGranularity); |
| 451 | 452 |
| 452 } // namespace blink | 453 } // namespace blink |
| 453 | 454 |
| 454 #endif | 455 #endif |
| OLD | NEW |