OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2006, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2009 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 20 matching lines...) Expand all Loading... |
31 enum TextIteratorBehavior { | 31 enum TextIteratorBehavior { |
32 TextIteratorDefaultBehavior = 0, | 32 TextIteratorDefaultBehavior = 0, |
33 TextIteratorEmitsCharactersBetweenAllVisiblePositions = 1 << 0, | 33 TextIteratorEmitsCharactersBetweenAllVisiblePositions = 1 << 0, |
34 TextIteratorEntersTextControls = 1 << 1, | 34 TextIteratorEntersTextControls = 1 << 1, |
35 TextIteratorIgnoresStyleVisibility = 1 << 2, | 35 TextIteratorIgnoresStyleVisibility = 1 << 2, |
36 TextIteratorEmitsOriginalText = 1 << 3, | 36 TextIteratorEmitsOriginalText = 1 << 3, |
37 TextIteratorStopsOnFormControls = 1 << 4, | 37 TextIteratorStopsOnFormControls = 1 << 4, |
38 TextIteratorEmitsImageAltText = 1 << 5, | 38 TextIteratorEmitsImageAltText = 1 << 5, |
39 TextIteratorEntersOpenShadowRoots = 1 << 6, | 39 TextIteratorEntersOpenShadowRoots = 1 << 6, |
40 TextIteratorEmitsObjectReplacementCharacter = 1 << 7, | 40 TextIteratorEmitsObjectReplacementCharacter = 1 << 7, |
41 TextIteratorDoesNotBreakAtReplacedElement = 1 << 8 | 41 TextIteratorDoesNotBreakAtReplacedElement = 1 << 8, |
| 42 TextIteratorForInnerText = 1 << 9, |
| 43 TextIteratorForSelectionToString = 1 << 10, |
| 44 TextIteratorForWindowFind = 1 << 11, |
42 }; | 45 }; |
43 typedef unsigned TextIteratorBehaviorFlags; | 46 typedef unsigned TextIteratorBehaviorFlags; |
44 | 47 |
45 } // namespace blink | 48 } // namespace blink |
46 | 49 |
47 #endif // TextIteratorFlags_h | 50 #endif // TextIteratorFlags_h |
OLD | NEW |