Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Unified Diff: ui/touch_selection/selection_granularity.h

Issue 829913004: WIP: Plumbing through text selection granularity control support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unified_text_selection_diff
Patch Set: Missing file. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/touch_selection/BUILD.gn ('k') | ui/touch_selection/touch_selection_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/touch_selection/BUILD.gn ('k') | ui/touch_selection/touch_selection_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698