Index: Source/core/editing/SelectionStrategy.h |
diff --git a/Source/core/editing/SelectionStrategy.h b/Source/core/editing/SelectionStrategy.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e3eb2a0746e95564c9aed8719d831c27050b1955 |
--- /dev/null |
+++ b/Source/core/editing/SelectionStrategy.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef SelectionStrategy_h |
+#define SelectionStrategy_h |
+ |
+namespace blink { |
+ |
+enum class SelectionStrategy { |
+ // Always using CharacterGranularity |
+ Character, |
+ // Switches between WordGranularity and CharacterGranularity |
+ // Depending on whether the selection or growing or shrinking |
+ Direction, |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // SelectionStrategy_h |