| 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
| 30 #include "core/editing/EditingBoundary.h" | 30 #include "core/editing/EditingBoundary.h" |
| 31 #include "core/editing/EphemeralRange.h" | 31 #include "core/editing/EphemeralRange.h" |
| 32 #include "core/editing/Position.h" | 32 #include "core/editing/Position.h" |
| 33 #include "core/editing/PositionWithAffinity.h" | 33 #include "core/editing/PositionWithAffinity.h" |
| 34 #include "core/editing/VisiblePosition.h" | 34 #include "core/editing/VisiblePosition.h" |
| 35 #include "core/editing/VisibleSelection.h" | 35 #include "core/editing/VisibleSelection.h" |
| 36 #include "core/events/InputEvent.h" | 36 #include "core/events/InputEvent.h" |
| 37 #include "platform/text/TextDirection.h" | 37 #include "platform/text/TextDirection.h" |
| 38 #include "wtf/Forward.h" | 38 #include "platform/wtf/Forward.h" |
| 39 #include "wtf/text/CharacterNames.h" | 39 #include "platform/wtf/text/CharacterNames.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 enum class PositionMoveType { | 43 enum class PositionMoveType { |
| 44 // Move by a single code unit. |PositionMoveType::CodeUnit| is used for | 44 // Move by a single code unit. |PositionMoveType::CodeUnit| is used for |
| 45 // implementing other |PositionMoveType|. You should not use this. | 45 // implementing other |PositionMoveType|. You should not use this. |
| 46 kCodeUnit, | 46 kCodeUnit, |
| 47 // Move to the next Unicode code point. At most two code unit when we are | 47 // Move to the next Unicode code point. At most two code unit when we are |
| 48 // at surrogate pair. Please consider using |GraphemeCluster|. | 48 // at surrogate pair. Please consider using |GraphemeCluster|. |
| 49 kBackwardDeletion, | 49 kBackwardDeletion, |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 DispatchEventResult DispatchBeforeInputDataTransfer(Node*, | 448 DispatchEventResult DispatchBeforeInputDataTransfer(Node*, |
| 449 InputEvent::InputType, | 449 InputEvent::InputType, |
| 450 DataTransfer*); | 450 DataTransfer*); |
| 451 | 451 |
| 452 InputEvent::InputType DeletionInputTypeFromTextGranularity(DeleteDirection, | 452 InputEvent::InputType DeletionInputTypeFromTextGranularity(DeleteDirection, |
| 453 TextGranularity); | 453 TextGranularity); |
| 454 | 454 |
| 455 } // namespace blink | 455 } // namespace blink |
| 456 | 456 |
| 457 #endif | 457 #endif |
| OLD | NEW |