Get rid of SelectionTemplate::granularity_
This patch gets rid of |SelectionTemplate::granularity_| since it is always |TextGranularity::kCharacter| since the patch[1] for improving code health. This patch also renames |SelectionTypeWithLegacyGranularity()| to |Type()| since |SelectionTemplate| doesn't have granularity any more. [1] http://crrev.com/2970043002: Simplify SelectionController::UpdateSelectionForMouseDrag() Bug: 692923 Change-Id: Ic58dfcf8eef7f7fe2121df27b5639d98da16986d Reviewed-on: https://chromium-review.googlesource.com/567781Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#485881}
Showing
Please register or sign in to comment