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

Issue 1907443004: Android: SELECT popups should not send notifications if a renderer asked to close it. (Closed)

Created:
4 years, 8 months ago by tkent
Modified:
4 years, 8 months ago
Reviewers:
Ted C
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android: SELECT popups should not send notifications if a renderer asked to close it. A renderer clears references to ExternalPopupMenu when it asks to close (FrameHostMsg_HidePopup). So, another ExternalPopupMenu could receive the notifications. OSX, which is another platform using ExternalPopupMenu, doesn't send notifications on close by FrameHostMsg_HidePopup. BUG=604381 Committed: https://crrev.com/6f0358d727bdadf6f485a7b6b78c728054af3665 Cr-Commit-Position: refs/heads/master@{#389409}

Patch Set 1 : #

Patch Set 2 : Add ContentViewCore#hideSelectPopupWithCancelMessage #

Total comments: 2

Patch Set 3 : Put if-return in one line #

Messages

Total messages: 17 (9 generated)
tkent
tedchoc@, would you review this please?
4 years, 8 months ago (2016-04-21 04:21:22 UTC) #4
Ted C
lgtm
4 years, 8 months ago (2016-04-21 17:35:25 UTC) #5
tkent
Patch Set 1 was not enough. I'm sorry! I realized SelectPopup#hide was called in cases ...
4 years, 8 months ago (2016-04-22 07:17:15 UTC) #9
Ted C
still lgtm w/ nit https://codereview.chromium.org/1907443004/diff/90001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/1907443004/diff/90001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode2554 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:2554: if (mSelectPopup == null) in ...
4 years, 8 months ago (2016-04-22 16:22:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907443004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907443004/100001
4 years, 8 months ago (2016-04-25 01:30:36 UTC) #13
tkent
https://codereview.chromium.org/1907443004/diff/90001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/1907443004/diff/90001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode2554 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:2554: if (mSelectPopup == null) On 2016/04/22 at 16:22:12, Ted ...
4 years, 8 months ago (2016-04-25 01:30:46 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 8 months ago (2016-04-25 01:34:34 UTC) #15
commit-bot: I haz the power
4 years, 8 months ago (2016-04-25 01:35:51 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6f0358d727bdadf6f485a7b6b78c728054af3665
Cr-Commit-Position: refs/heads/master@{#389409}

Powered by Google App Engine
This is Rietveld 408576698