DescriptionUse fallback URL more extensively
Currently, if you type a URL in the omnibox, and if the URL gets redirected
to a 'intent://' URL, then it does not launch a native app and it just gets
ignored.
I believe that this is for security / UI reasons (see crbug.com/331571),
but it is somewhat weird that your URL (e.g. http://goo.gl/ABCDE) gets
completely ignored, especially when you aren't sure whether goo.gl will be
redirected to a normal URL or to an intent URL.
This behavior can be improved for the case when fallback URL is used,
as we can load the fallback URL instead of ignoring the URL.
Also there are other cases fallback URL can be useful, such as when
Context#startActivityIfNeeded() returns false.
BUG=470722
Committed: https://crrev.com/9a23240a46096e9042b1499dad67ab1f947c9d17
Cr-Commit-Position: refs/heads/master@{#323162}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 2
Patch Set 5 : use fallback for other cases as well #Patch Set 6 : fixed indentation #
Total comments: 2
Patch Set 7 : fixed indentation and rebased #Patch Set 8 : #
Messages
Total messages: 17 (4 generated)
|