summaryrefslogtreecommitdiffstats
path: root/blimp/client/session/assignment_source.cc
diff options
context:
space:
mode:
authoryosin <yosin@chromium.org>2016-02-01 20:45:33 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-02 04:46:37 +0000
commitde07d5638897139acffc67cdb4142cee4f912e3a (patch)
tree953c00b954558b8222e0ad615566734db5e39a55 /blimp/client/session/assignment_source.cc
parent5eca4a280793a8cadfa9ad98e74c5f4fbaaca006 (diff)
downloadchromium_src-de07d5638897139acffc67cdb4142cee4f912e3a.zip
chromium_src-de07d5638897139acffc67cdb4142cee4f912e3a.tar.gz
chromium_src-de07d5638897139acffc67cdb4142cee4f912e3a.tar.bz2
Make VisibleSelection::updateIfNeeded() to consider text granularity
This patch makes |VisibleSelection::updateIfNeeded()| to consider text granularity and utilizes it in |enabledInEditableText|, for "DeleteSelection", "InsertParagraph", etc, and |enabledRangeInEditableText()|, for "RemoveFormat", ||enabledRangeInRichlyEditableText()|, for "Unlink", to these commands valid selection. This patch updates test expectation of "delete-start-block.html", since "insertParagraph" step in test script used invalid selection so far. This is a follow-up patch of crrev.com/1612983003, which introduces |VisibleSelection::updateIfNeeded()|. BUG=574090, 581228 TEST=LayoutTests/editing/deleting/delete-start-block.html Review URL: https://codereview.chromium.org/1648253002 Cr-Commit-Position: refs/heads/master@{#372890}
Diffstat (limited to 'blimp/client/session/assignment_source.cc')
0 files changed, 0 insertions, 0 deletions