Chromium Code Reviews| Index: Source/core/editing/TextGranularity.h |
| diff --git a/Source/core/editing/TextGranularity.h b/Source/core/editing/TextGranularity.h |
| index cc96da70cc55e8d0e3ed44b997322a0f5704a5e4..08a412601eb3db655e5e16cb0a83d6b54cd05d3c 100644 |
| --- a/Source/core/editing/TextGranularity.h |
| +++ b/Source/core/editing/TextGranularity.h |
| @@ -42,6 +42,14 @@ enum TextGranularity { |
| DocumentBoundary |
| }; |
| +enum SelectionStrategy { |
|
yosin_UTC9
2015/04/16 04:11:26
nit: Please move |SelectionStrategy| to its own fi
mfomitchev1
2015/04/17 00:13:51
Done.
|
| + // Always using CharacterGranularity |
| + StrategyDefault, |
| + // Switches between WordGranularity and CharacterGranularity |
| + // Depending on whether the selection or growing or shrinking |
| + StrategyDirection, |
| +}; |
| + |
| } |
| #endif |