Index: ui/touch_selection/selection_granularity.h |
diff --git a/ui/touch_selection/selection_granularity.h b/ui/touch_selection/selection_granularity.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..14a9bc101ee4412ca5a7ade62317736d3601067f |
--- /dev/null |
+++ b/ui/touch_selection/selection_granularity.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 UI_TOUCH_SELECTION_SELECTION_GRANULARITY_ |
+#define UI_TOUCH_SELECTION_SELECTION_GRANULARITY_ |
+ |
+namespace ui { |
+ |
+enum TextSelectionGranularity { |
+ CHARACTER_GRANULARITY, |
+ WORD_GRANULARITY, |
+ SENTENCE_GRANULARITY, |
+ LINE_GRANULARITY, |
+ PARAGRAPH_GRANULARITY |
+}; |
+ |
+} // namespace ui |
+ |
+#endif // UI_TOUCH_SELECTION_SELECTION_GRANULARITY_ |