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 { |
+ // Always using CharacterGranularity |
+ StrategyDefault, |
+ // Switches between WordGranularity and CharacterGranularity |
+ // Depending on whether the selection or growing or shrinking |
+ StrategyDirection, |
+}; |
+ |
} |
#endif |