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

Issue 23453011: [Android WebView] Disable disambiguation popups (Closed)

Created:
7 years, 3 months ago by boliu
Modified:
7 years, 3 months ago
Reviewers:
jamesr, joth, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

[Android WebView] Disable disambiguation popups This feature is not universally useful in webview. So disable it for now. Implemented by adding TAP_MULTIPLE_TARGETS_STRATEGY_NONE and setting this in AwContents constructor so there is no need to explicitly sync to renderer. BUG=280288, 280301 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220032

Patch Set 1 #

Patch Set 2 : Add TODO #

Total comments: 1

Patch Set 3 : Add NONE tap_multiple_targets_strategy #

Total comments: 4

Patch Set 4 : Update TAP_MULTIPLE_TARGETS_STRATEGY_MAX #

Total comments: 4

Patch Set 5 : remove RVI change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M android_webview/native/aw_contents.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M content/public/common/renderer_preferences.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
boliu
James could you take a look. I know this is abusing tje synchronous compositor setting, ...
7 years, 3 months ago (2013-08-27 22:06:04 UTC) #1
jamesr
not lgtm. C'mon https://codereview.chromium.org/23453011/diff/3001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/23453011/diff/3001/content/renderer/render_view_impl.cc#newcode6403 content/renderer/render_view_impl.cc:6403: // Disable disambiguation popups in Android ...
7 years, 3 months ago (2013-08-27 22:45:53 UTC) #2
boliu
On 2013/08/27 22:45:53, jamesr wrote: > not lgtm. C'mon > > https://codereview.chromium.org/23453011/diff/3001/content/renderer/render_view_impl.cc > File content/renderer/render_view_impl.cc ...
7 years, 3 months ago (2013-08-28 00:09:03 UTC) #3
jamesr
Much better. Two nits, but lgtm. You'll also need a content/public and android_webview OWNER, since ...
7 years, 3 months ago (2013-08-28 00:10:42 UTC) #4
boliu
https://codereview.chromium.org/23453011/diff/8001/content/public/common/renderer_preferences.h File content/public/common/renderer_preferences.h (right): https://codereview.chromium.org/23453011/diff/8001/content/public/common/renderer_preferences.h#newcode45 content/public/common/renderer_preferences.h:45: TAP_MULTIPLE_TARGETS_STRATEGY_MAX = TAP_MULTIPLE_TARGETS_STRATEGY_POPUP, On 2013/08/28 00:10:42, jamesr wrote: > ...
7 years, 3 months ago (2013-08-28 00:20:44 UTC) #5
boliu
Owners ptal: piman - content/public joth - android_webview
7 years, 3 months ago (2013-08-28 00:24:58 UTC) #6
piman
LGTM+nit https://codereview.chromium.org/23453011/diff/14001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/23453011/diff/14001/content/renderer/render_view_impl.cc#newcode6452 content/renderer/render_view_impl.cc:6452: // multitarget_strategy == TAP_MULTIPLE_TARGETS_STRATEGY_NONE. nit: this should be ...
7 years, 3 months ago (2013-08-28 01:44:34 UTC) #7
boliu
https://codereview.chromium.org/23453011/diff/14001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/23453011/diff/14001/content/renderer/render_view_impl.cc#newcode6452 content/renderer/render_view_impl.cc:6452: // multitarget_strategy == TAP_MULTIPLE_TARGETS_STRATEGY_NONE. On 2013/08/28 01:44:34, piman wrote: ...
7 years, 3 months ago (2013-08-28 02:42:38 UTC) #8
piman
On Tue, Aug 27, 2013 at 7:42 PM, <boliu@chromium.org> wrote: > > https://codereview.chromium.**org/23453011/diff/14001/** > content/renderer/render_view_**impl.cc<https://codereview.chromium.org/23453011/diff/14001/content/renderer/render_view_impl.cc> ...
7 years, 3 months ago (2013-08-28 03:00:10 UTC) #9
joth
lgtm. thanks! https://codereview.chromium.org/23453011/diff/14001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/23453011/diff/14001/android_webview/native/aw_contents.cc#newcode151 android_webview/native/aw_contents.cc:151: content::TAP_MULTIPLE_TARGETS_STRATEGY_NONE; GetMutableRendererPrefs - u my new best ...
7 years, 3 months ago (2013-08-28 03:03:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/23453011/23001
7 years, 3 months ago (2013-08-28 03:52:43 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=163079
7 years, 3 months ago (2013-08-28 07:38:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/23453011/23001
7 years, 3 months ago (2013-08-28 14:08:30 UTC) #13
commit-bot: I haz the power
7 years, 3 months ago (2013-08-28 15:17:32 UTC) #14
Message was sent while issue was closed.
Change committed as 220032

Powered by Google App Engine
This is Rietveld 408576698