| 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 String stringWithRebalancedWhitespace(const String&, | 406 String stringWithRebalancedWhitespace(const String&, |
| 407 bool startIsStartOfParagraph, | 407 bool startIsStartOfParagraph, |
| 408 bool shouldEmitNBSPbeforeEnd); | 408 bool shouldEmitNBSPbeforeEnd); |
| 409 const String& nonBreakingSpaceString(); | 409 const String& nonBreakingSpaceString(); |
| 410 | 410 |
| 411 // ------------------------------------------------------------------------- | 411 // ------------------------------------------------------------------------- |
| 412 // Events | 412 // Events |
| 413 // ------------------------------------------------------------------------- | 413 // ------------------------------------------------------------------------- |
| 414 | 414 |
| 415 // Functions dispatch InputEvent | 415 // Functions dispatch InputEvent |
| 416 DispatchEventResult dispatchBeforeInputInsertText(EventTarget*, | 416 const RangeVector* targetRangesForInputEvent(const Node&); |
| 417 const String& data); | 417 DispatchEventResult dispatchBeforeInputInsertText(Node*, const String& data); |
| 418 DispatchEventResult dispatchBeforeInputEditorCommand(EventTarget*, | 418 DispatchEventResult dispatchBeforeInputEditorCommand(Node*, |
| 419 InputEvent::InputType, | 419 InputEvent::InputType, |
| 420 const RangeVector*); | 420 const RangeVector*); |
| 421 DispatchEventResult dispatchBeforeInputDataTransfer(EventTarget*, | 421 DispatchEventResult dispatchBeforeInputDataTransfer(Node*, |
| 422 InputEvent::InputType, | 422 InputEvent::InputType, |
| 423 DataTransfer*, | 423 DataTransfer*); |
| 424 const RangeVector*); | |
| 425 | 424 |
| 426 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, | 425 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, |
| 427 TextGranularity); | 426 TextGranularity); |
| 428 | 427 |
| 429 } // namespace blink | 428 } // namespace blink |
| 430 | 429 |
| 431 #endif | 430 #endif |
| OLD | NEW |