crosswalk-project/crosswalk — pull request #1308 by wang16 (2013-12-12 02:29:19+00:00)
Title: [Android] Check webview legacy api for external protocol handling first

Crosswalk provides two ways for embedders to extend protocol handling.
1. The same api as legacy webview api in XWalkContentsClient,
shouldOverrideUrlLoading().
2. Extends XWalkNavigationHandler.

By default, xwalk doesn't do anything in shouldOverrideUrlLoading, but
handles action uri in XWalkNavigationHandler.
To avoid the case that some embedder override shouldOverrideUrlLoading
in the way conflicts with what xwalk already did in XWalkNavigationHandler,
calling shouldOverrideUrlLoading prior to invoke XWalkNavigationHandler
so that embedders won't get confused.

BUG=https://crosswalk-project.org/jira/browse/XWALK-654