|
Code cleanup related to unified text checker
Unified text checker is always enabled in chrome, and never assumed to
be disabled in any test case. Hence, this patch removes:
- All code conditioning on unified text checker
- Dead code assuming unified text checker is disabled
- The switch |unifiedTextCheckerEnabled| from Settings
This patch also simplifies code related to conditioning of
isContinuousSpellCheckingEnabled() in SpellChecker.cpp, given that
unified text checker is always enabled.
The following layout tests are marked as NeedsRebaseline because their
pixel results are affected by the appearance of spelling markers after
enabling unified text checker. They do not explicitly test any
functionality of spell checker, though:
- fast/dom/blur-contenteditable.html
- fast/inline-block/14498-positionForCoordinates.html
- fast/repaint/inline-outline-repaint.html
- fast/dom/focus-contenteditable.html
- virtual/prefer_compositing_to_lcd_text/compositing/overflow/do-not-paint-outline-into-composited-scrolling-contents.html
- fast/forms/text/input-double-click-selection-gap-bug.html
- compositing/overflow/do-not-paint-outline-into-composited-scrolling-contents.html
BUG= 633509
TEST=n/a; no behavior change, but several test files are changed
Committed: https://crrev.com/accb28ab54cbdf525c3e319c3857a492bb27f04c
Cr-Commit-Position: refs/heads/master@{#412164}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+60 lines, -346 lines) |
Patch |
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/common/common_param_traits_macros.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/common/web_preferences.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/common/web_preferences.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/TestExpectations
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/accessibility/misspellings.html
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/execCommand/append-node-under-document.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/execCommand/append-node-under-document-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/design-mode-spellcheck-off.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/grammar.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/grammar-edit-word.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/inline-spelling-markers-hidpi.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/inline-spelling-markers-hidpi-composited.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/inline_spelling_markers.html
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/mark-empty-crash.html
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/markers.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/markers-input-type-text.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/resources/util.js
|
View
|
1
2
3
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-attribute-at-child.js
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-attribute-change.js
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-backspace-between-lines.js
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-hasspellingmarker.js
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spellcheck-async.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spellcheck-async-mutation.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spellcheck-async-remove-frame.html
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spellcheck-attribute.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spellcheck-disable-enable.html
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spellcheck-editable-on-focus.html
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spellcheck-editable-on-focus-multiframe.html
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync.html
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spellcheck-mixed-editable-crash.html
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spellcheck-mixed-editable-long-text-crash.html
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spelling-backward.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spelling-huge-text.html
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spelling-linebreak.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spelling-marker-description.html
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/spelling/spelling-unified-emulation.html
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/editing/text-iterator/backward-textiterator-first-letter-crash.html
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/dom/Text/normalize-crash-in-spell-checker.html
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
|
View
|
|
3 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
View
|
1
2
3
4
|
10 chunks |
+48 lines, -133 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -89 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/Settings.in
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebSettingsImpl.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebSettingsImpl.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
View
|
1
2
3
|
8 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebSettings.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 47 (31 generated)
|