| 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 18 matching lines...) Expand all Loading... |
| 29 namespace blink { | 29 namespace blink { |
| 30 | 30 |
| 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 TextIteratorEntersAuthorShadowRoots = 1 << 6, | 39 TextIteratorEntersOpenShadowRoots = 1 << 6, |
| 40 TextIteratorEmitsObjectReplacementCharacter = 1 << 7, | 40 TextIteratorEmitsObjectReplacementCharacter = 1 << 7, |
| 41 TextIteratorDoesNotBreakAtReplacedElement = 1 << 8 | 41 TextIteratorDoesNotBreakAtReplacedElement = 1 << 8 |
| 42 }; | 42 }; |
| 43 typedef unsigned TextIteratorBehaviorFlags; | 43 typedef unsigned TextIteratorBehaviorFlags; |
| 44 | 44 |
| 45 } // namespace blink | 45 } // namespace blink |
| 46 | 46 |
| 47 #endif // TextIteratorFlags_h | 47 #endif // TextIteratorFlags_h |
| OLD | NEW |