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

Issue 143803010: Disable Views fuzzing with --disable-views-rect-based-targeting. (Closed)

Created:
6 years, 11 months ago by msw
Modified:
6 years, 11 months ago
Reviewers:
tdanderson, sadrul, sky
CC:
chromium-reviews, tfarina, Ben Goodger (Google), Shrikant Kelkar
Visibility:
Public.

Description

Disable Views fuzzing with --disable-views-rect-based-targeting. The new Views hit-test-rect fuzzing feature is buggy. (r232797 caused tab close button breakage in Issue 332334) Let --disable-views-rect-based-targeting toggle that code. (affected users can workaround defects with that flag) This might be a merge candidate for M-33 and M-32 branches. BUG=332334, 129794, 306186 R=sadrul@chromium.org,sky@chromium.org TBR=tdanderson@chromium.org TEST=Clicking the tab close button works with Tahoma 17+ and other large MessageBox fonts used for Chrome UI when users supply the "--disable-views-rect-based-targeting" commandline flag. That disables "Views Fuzzing", but touch-based interaction should still work reasonably enough.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Condition HitTestMask use on IsRectBasedTargetingEnabled. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M ui/views/view.cc View 1 3 chunks +3 lines, -2 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
msw
Hey Sadrul, Scott, and Terry; please take a look.
6 years, 11 months ago (2014-01-22 00:08:42 UTC) #1
sky
We shouldn't need to change this override. We should disable views fuzzing if this is ...
6 years, 11 months ago (2014-01-22 01:18:16 UTC) #2
msw
The latest patch set allows users to disable views fuzzing with --disable-views-rect-based-targeting, but otherwise leaves ...
6 years, 11 months ago (2014-01-23 00:28:16 UTC) #3
sadrul
https://codereview.chromium.org/143803010/diff/1/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/143803010/diff/1/chrome/browser/ui/views/tabs/tab.cc#newcode409 chrome/browser/ui/views/tabs/tab.cc:409: return false; Do this only for defined(OS_WIN)? https://codereview.chromium.org/143803010/diff/130001/ui/views/view.cc File ...
6 years, 11 months ago (2014-01-23 00:40:42 UTC) #4
msw
https://codereview.chromium.org/143803010/diff/1/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/143803010/diff/1/chrome/browser/ui/views/tabs/tab.cc#newcode409 chrome/browser/ui/views/tabs/tab.cc:409: return false; On 2014/01/23 00:40:42, sadrul wrote: > Do ...
6 years, 11 months ago (2014-01-23 00:54:32 UTC) #5
sky
I have a better fix for this here: https://codereview.chromium.org/134203004/ . It's not perfect, but hopefully ...
6 years, 11 months ago (2014-01-23 16:40:04 UTC) #6
msw
6 years, 11 months ago (2014-01-23 17:59:36 UTC) #7
Message was sent while issue was closed.
On 2014/01/23 16:40:04, sky wrote:
> I have a better fix for this here: https://codereview.chromium.org/134203004/
.
> It's not perfect, but hopefully good enough to merge.

Okay, I've closed this CL, we'll go with your fix.

Powered by Google App Engine
This is Rietveld 408576698