Add tests for DocumentMarkerListEditor::ShiftMarkersContent[D/In]ependent
When we split ShiftMarkers() into ShiftMarkersContentDependent()/
ShiftMarkersContentIndependent() in https://codereview.chromium.org/2895353003,
I had to remove some test cases in InputMethodControllerTest which were testing
the (somewhat complex) ContentIndependent behavior because we don't currently
have any marker types that actually use the behavior (other than Composition
markers, which get cleared by many editing operations). So I'm adding a set of
test cases to directly test ShiftMarkersContentDependent() and
ShiftMarkersContentIndependent().
BUG=707867
Review-Url: https://codereview.chromium.org/2903413003
Cr-Commit-Position: refs/heads/master@{#475703}
3 files changed