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

Issue 2363303003: Allow the external protocol dialog to handle FORM_SUBMIT navigation (Closed)

Created:
4 years, 2 months ago by Yusuke Sato
Modified:
4 years, 2 months ago
Reviewers:
Ben Kwa
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow the external protocol dialog to handle FORM_SUBMIT navigation It turns out that checking only PAGE_TRANSITION_LINK misses the user's form submission because content/renderer/render_frame_impl.cc changes the core transition type from LINK to FORM_SUBMIT on form submission. BUG=b/31747586 TEST=try Committed: https://crrev.com/cda58be581a1489a4aa270b8684d849ffc3cb7a3 Cr-Commit-Position: refs/heads/master@{#421123}

Patch Set 1 #

Patch Set 2 : rebase, no code change #

Patch Set 3 : rebase again, no code change #

Patch Set 4 : Address a comment from Ben #

Total comments: 2

Patch Set 5 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -38 lines) Patch
M chrome/browser/chromeos/arc/arc_external_protocol_dialog.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/arc/arc_navigation_throttle.cc View 1 2 3 1 chunk +9 lines, -1 line 0 comments Download
M chrome/browser/chromeos/arc/page_transition_util.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/arc/page_transition_util.cc View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/arc/page_transition_util_unittest.cc View 1 2 3 2 chunks +76 lines, -33 lines 0 comments Download

Messages

Total messages: 33 (26 generated)
Yusuke Sato
Please take a look.
4 years, 2 months ago (2016-09-26 16:28:12 UTC) #4
Yusuke Sato
Uploaded PS#4 following your suggestion in the chat. PTAL.
4 years, 2 months ago (2016-09-26 23:06:03 UTC) #18
Ben Kwa
On suggestion/nit but other than that, LGTM. Thanks! https://codereview.chromium.org/2363303003/diff/60001/chrome/browser/chromeos/arc/page_transition_util.cc File chrome/browser/chromeos/arc/page_transition_util.cc (right): https://codereview.chromium.org/2363303003/diff/60001/chrome/browser/chromeos/arc/page_transition_util.cc#newcode19 chrome/browser/chromeos/arc/page_transition_util.cc:19: ui::PAGE_TRANSITION_FORM_SUBMIT))) ...
4 years, 2 months ago (2016-09-27 05:04:58 UTC) #21
Yusuke Sato
thanks! https://codereview.chromium.org/2363303003/diff/60001/chrome/browser/chromeos/arc/page_transition_util.cc File chrome/browser/chromeos/arc/page_transition_util.cc (right): https://codereview.chromium.org/2363303003/diff/60001/chrome/browser/chromeos/arc/page_transition_util.cc#newcode19 chrome/browser/chromeos/arc/page_transition_util.cc:19: ui::PAGE_TRANSITION_FORM_SUBMIT))) { On 2016/09/27 05:04:58, Ben Kwa wrote: ...
4 years, 2 months ago (2016-09-27 06:03:14 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2363303003/80001
4 years, 2 months ago (2016-09-27 06:03:30 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-09-27 06:09:08 UTC) #31
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 06:12:30 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cda58be581a1489a4aa270b8684d849ffc3cb7a3
Cr-Commit-Position: refs/heads/master@{#421123}

Powered by Google App Engine
This is Rietveld 408576698