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

Issue 725243002: add flag to disable link disambiguation popup (Closed)

Created:
6 years, 1 month ago by luken
Modified:
6 years ago
CC:
chromium-reviews, amineer
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

We previously had a setting in chrome defaults but this deprecates that for a command line flag and utility function that always defers to the flag but otherwise returns a default based on operating system. The CL then removes some of the code that depended on the default for a more robust direct check by the render_view_impl. This should also help with some of the CrOS UI bugs that link disambiguation created with views that didn't necessarily initialize their RendererPreferences. BUG=433007, 428163 TBR=jar Committed: https://crrev.com/e23094a2fb86eb15f76caf5b55927d0b7e9ba8f5 Cr-Commit-Position: refs/heads/master@{#305385}

Patch Set 1 #

Total comments: 2

Patch Set 2 : switched to disable #

Patch Set 3 : move flag to ui/base #

Patch Set 4 : just cleaning up a little cruft #

Patch Set 5 : add histogram.xml entry for flag #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -57 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +8 lines, -1 line 0 comments Download
M chrome/browser/about_flags.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/oobe_browsertest.cc View 1 2 2 chunks +0 lines, -30 lines 0 comments Download
M chrome/browser/defaults.h View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/defaults.cc View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/renderer_preferences_util.cc View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 1 chunk +3 lines, -0 lines 1 comment Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 2 comments Download
M ui/base/ui_base_switches.h View 1 2 1 chunk +1 line, -0 lines 3 comments Download
M ui/base/ui_base_switches.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/base/ui_base_switches_util.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/ui_base_switches_util.cc View 1 2 1 chunk +12 lines, -0 lines 2 comments Download

Messages

Total messages: 21 (5 generated)
luken
Find a home for a function ShouldShowLinkDisambiguationPopup() which first checks command line for both options, ...
6 years, 1 month ago (2014-11-14 19:57:01 UTC) #1
luken
6 years, 1 month ago (2014-11-23 02:48:00 UTC) #3
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/725243002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/725243002/diff/80001/tools/metrics/histograms/histograms.xml#oldcode48619 tools/metrics/histograms/histograms.xml:48619: <int value="909439558" label="disable-device-discovery"/> not understanding what the xml change ...
6 years, 1 month ago (2014-11-23 04:57:34 UTC) #4
luken
https://codereview.chromium.org/725243002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/725243002/diff/80001/tools/metrics/histograms/histograms.xml#oldcode48619 tools/metrics/histograms/histograms.xml:48619: <int value="909439558" label="disable-device-discovery"/> On 2014/11/23 04:57:34, cpu wrote: > ...
6 years, 1 month ago (2014-11-23 05:00:50 UTC) #5
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/725243002/diff/80001/ui/base/ui_base_switches.h File ui/base/ui_base_switches.h (right): https://codereview.chromium.org/725243002/diff/80001/ui/base/ui_base_switches.h#newcode20 ui/base/ui_base_switches.h:20: UI_BASE_EXPORT extern const char kDisableLinkDisambiguationPopup[]; On 2014/11/23 05:00:50, luken ...
6 years, 1 month ago (2014-11-23 06:05:02 UTC) #6
cpu_(ooo_6.6-7.5)
assuming switch propagation is magical. lgtm
6 years, 1 month ago (2014-11-23 06:05:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/725243002/80001
6 years, 1 month ago (2014-11-23 06:06:15 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/26135)
6 years, 1 month ago (2014-11-23 06:10:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/725243002/80001
6 years, 1 month ago (2014-11-23 06:19:34 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years, 1 month ago (2014-11-23 14:12:42 UTC) #14
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/e23094a2fb86eb15f76caf5b55927d0b7e9ba8f5 Cr-Commit-Position: refs/heads/master@{#305385}
6 years, 1 month ago (2014-11-23 14:14:05 UTC) #15
jdduke (slow)
On 2014/11/23 06:05:40, cpu wrote: > assuming switch propagation is magical. lgtm Switch propagation is ...
6 years, 1 month ago (2014-11-23 20:01:01 UTC) #17
jdduke (slow)
Not that I have any say in this matter, but my honest opinion is that ...
6 years, 1 month ago (2014-11-23 20:05:54 UTC) #18
jdduke (slow)
6 years, 1 month ago (2014-11-23 20:06:32 UTC) #19
jar (doing other things)
Not sure why this had my TBR.... (I don't think I was connected with feature)... ...
6 years ago (2014-11-24 22:41:12 UTC) #20
Rick Byers
6 years ago (2014-11-25 15:00:06 UTC) #21
Message was sent while issue was closed.
On 2014/11/23 20:05:54, jdduke wrote:
> Not that I have any say in this matter, but my honest opinion is that this
> feature is not ready to ship and we should disable it immediately in M39 (and
> M40) until the kinks can be ironed out. At the least, it should be opt-in for
> beta/stable users until such time.

+1.

Note that my concerns in http://crbug.com/385249 (such as sites having no way to
disable the feature, the way they do on Android) were never addressed.

Powered by Google App Engine
This is Rietveld 408576698