Description[Android] Use resource throttle instead of HandleExternalProtocol.
Chrome on Android uses a throttle-based mechanism to intercept links
so that the user may choose to run an Android application instead of
loading the link in the browser. This mechanism works for both
internal (e.g. http:, https:) as well as external protocols (e.g.
tel:, geo:).
Instead of using the HandleExternalProtocol path way to handle
external protocols, it is better to have both internal and external
protocols overridden through the same mechanism. This has the
added benefit that an error page can be shown in Chrome on Android
if there is no external handler available for the given protocol, which
is not easily done using the HandleExternalProtocol mechanism.
BUG=156044
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164717
Patch Set 1 #
Total comments: 7
Patch Set 2 : Address review comments. #Patch Set 3 : Rebase. Remove unnecessary includes from external_protocol_dialog_android.cc #Patch Set 4 : Fix android webview compilation error (adjust header). #Messages
Total messages: 12 (0 generated)
|