Add chrome-native:// scheme.
commit2f7b3c5a54d3b531edcdefe6eeb31fb1f8278610
authortedchoc@chromium.org <tedchoc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 21 Jun 2013 04:59:25 +0000 (21 04:59 +0000)
committertedchoc@chromium.org <tedchoc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 21 Jun 2013 04:59:25 +0000 (21 04:59 +0000)
tree087445576a1d6e9dbb49d4177eaebc763b66cb61
parentde0d186de710dc62e9a3bbd32f0dd502d788663b
Add chrome-native:// scheme.

The new scheme will be used to show pages rendered by the native
platform widgets (Android's view system in particular).

Decoupling the need for a renderer from WebContents was deemed to be
too drastic and risky, so we plan on using a new scheme that is
renderered as about:blank in the renderer and does not force a new
renderer to be created on the next navigation (see SetSite in
DidNavigate).  This will allow us to use the same navigation handling/
site instance security already in place without a bunch of special
handling.

BUG=178915

Review URL: https://chromiumcodereview.appspot.com/15675024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207702 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/web_contents/web_contents_impl.cc
content/browser/web_contents/web_contents_impl.h
content/browser/web_contents/web_contents_impl_unittest.cc
content/public/common/url_constants.cc
content/public/common/url_constants.h
content/renderer/render_thread_impl.cc
content/renderer/render_view_browsertest.cc
content/renderer/render_view_impl.h