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

Issue 124383010: [rAC] Allow clickthrough for SuggestionView (Closed)

Created:
6 years, 11 months ago by groby-ooo-7-16
Modified:
6 years, 11 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, benquan, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

[rAC] Allow clickthrough for SuggestionView Most of the contents in AutofillSuggestionContainer should ignore mouse clicks and instead let the SectionContainer handle it - the only exception being the |inputField_| in the SuggestionContainer. This will allow the suggestion menu to pop up even when the user clicks e.g. on explanatory text. Modified hitTest: to ignore all subviews except |inputField_| and descendants. BUG=331130 R=rsesek@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243673

Patch Set 1 #

Patch Set 2 : Added unit test. #

Total comments: 6

Patch Set 3 : Review fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -1 line) Patch
M chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.mm View 2 chunks +31 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_suggestion_container_unittest.mm View 1 2 2 chunks +51 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
groby-ooo-7-16
6 years, 11 months ago (2014-01-07 01:16:26 UTC) #1
Robert Sesek
Is it possible to write a unit test for this using -hitTest: ?
6 years, 11 months ago (2014-01-07 15:10:36 UTC) #2
groby-ooo-7-16
Unit test added - PTAL
6 years, 11 months ago (2014-01-08 01:52:49 UTC) #3
Robert Sesek
LGTM, thanks! https://codereview.chromium.org/124383010/diff/70001/chrome/browser/ui/cocoa/autofill/autofill_suggestion_container_unittest.mm File chrome/browser/ui/cocoa/autofill/autofill_suggestion_container_unittest.mm (right): https://codereview.chromium.org/124383010/diff/70001/chrome/browser/ui/cocoa/autofill/autofill_suggestion_container_unittest.mm#newcode63 chrome/browser/ui/cocoa/autofill/autofill_suggestion_container_unittest.mm:63: NSPoint pointOutsideSubviews = naming: under_scores (also update ...
6 years, 11 months ago (2014-01-08 14:50:18 UTC) #4
groby-ooo-7-16
https://codereview.chromium.org/124383010/diff/70001/chrome/browser/ui/cocoa/autofill/autofill_suggestion_container_unittest.mm File chrome/browser/ui/cocoa/autofill/autofill_suggestion_container_unittest.mm (right): https://codereview.chromium.org/124383010/diff/70001/chrome/browser/ui/cocoa/autofill/autofill_suggestion_container_unittest.mm#newcode63 chrome/browser/ui/cocoa/autofill/autofill_suggestion_container_unittest.mm:63: NSPoint pointOutsideSubviews = On 2014/01/08 14:50:19, rsesek wrote: > ...
6 years, 11 months ago (2014-01-08 19:20:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/124383010/160001
6 years, 11 months ago (2014-01-08 19:23:51 UTC) #6
commit-bot: I haz the power
6 years, 11 months ago (2014-01-08 22:23:51 UTC) #7
Message was sent while issue was closed.
Change committed as 243673

Powered by Google App Engine
This is Rietveld 408576698