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

Issue 2396803002: [Android WebView] Add functionality to enable features and enable the spellcheck feature. (Closed)

Created:
4 years, 2 months ago by timvolodine
Modified:
4 years, 2 months ago
Reviewers:
Tobias Sargeant, Torne
CC:
chromium-reviews, android-webview-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android WebView] Add functionality to enable features and enable the spellcheck feature. This patch adds the necessary generic methods to selectively enable a feature in webview. The feature is only added if it is not yet enabled (using --enable-features switch) and not disabled (using --disable-features). This patch also enables spellchecking in WebView by default, but only on non low-end devices. The feature can be disabled via the command line: echo 'chrome --disable-features=AndroidSpellCheckerNonLowEnd' > \ /data/local/tmp/webview-command-line BUG=583616, 629609 Committed: https://crrev.com/a1d692bf7489e628a2d6dc6786495e32c0059250 Cr-Commit-Position: refs/heads/master@{#423513}

Patch Set 1 #

Total comments: 2

Patch Set 2 : address Toby's comment, add disallow_implicit_constructors #

Patch Set 3 : fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -0 lines) Patch
M android_webview/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A android_webview/browser/command_line_helper.h View 1 1 chunk +27 lines, -0 lines 0 comments Download
A android_webview/browser/command_line_helper.cc View 1 1 chunk +42 lines, -0 lines 0 comments Download
A android_webview/browser/command_line_helper_unittest.cc View 1 2 1 chunk +76 lines, -0 lines 0 comments Download
M android_webview/lib/main/aw_main_delegate.cc View 3 chunks +5 lines, -0 lines 0 comments Download
M android_webview/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (18 generated)
timvolodine
4 years, 2 months ago (2016-10-05 13:45:37 UTC) #5
Tobias Sargeant
LGTM, with comment below. https://codereview.chromium.org/2396803002/diff/1/android_webview/browser/command_line_helper.cc File android_webview/browser/command_line_helper.cc (right): https://codereview.chromium.org/2396803002/diff/1/android_webview/browser/command_line_helper.cc#newcode20 android_webview/browser/command_line_helper.cc:20: bool contains(const vector<string>& features, const ...
4 years, 2 months ago (2016-10-05 13:56:15 UTC) #6
timvolodine
https://codereview.chromium.org/2396803002/diff/1/android_webview/browser/command_line_helper.cc File android_webview/browser/command_line_helper.cc (right): https://codereview.chromium.org/2396803002/diff/1/android_webview/browser/command_line_helper.cc#newcode20 android_webview/browser/command_line_helper.cc:20: bool contains(const vector<string>& features, const string& feature_name) { On ...
4 years, 2 months ago (2016-10-06 11:58:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2396803002/40001
4 years, 2 months ago (2016-10-06 13:54:03 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-06 13:59:29 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 14:00:53 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a1d692bf7489e628a2d6dc6786495e32c0059250
Cr-Commit-Position: refs/heads/master@{#423513}

Powered by Google App Engine
This is Rietveld 408576698