Index: chrome/browser/chromeos/arc/arc_external_protocol_dialog.cc |
diff --git a/chrome/browser/chromeos/arc/arc_external_protocol_dialog.cc b/chrome/browser/chromeos/arc/arc_external_protocol_dialog.cc |
index a7a8f55eeb39ddc96b9a4486317944d51b6380d5..34205a92aaf0663defe1df8ad94da0849b1ef1e8 100644 |
--- a/chrome/browser/chromeos/arc/arc_external_protocol_dialog.cc |
+++ b/chrome/browser/chromeos/arc/arc_external_protocol_dialog.cc |
@@ -163,7 +163,9 @@ bool RunArcExternalProtocolDialog(const GURL& url, |
int routing_id, |
ui::PageTransition page_transition, |
bool has_user_gesture) { |
- if (ShouldIgnoreNavigation(page_transition)) |
+ // Try to forward <form> submissions to ARC when possible. |
+ constexpr bool kAllowFormSubmit = true; |
+ if (ShouldIgnoreNavigation(page_transition, kAllowFormSubmit)) |
return false; |
mojom::IntentHelperInstance* intent_helper = GetIntentHelper(); |