summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_url_handler_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix view-source url creation logicsgurun2014-10-151-6/+2
| | | | | | | | | | | | | BUG=336846 The logic to create a view-source URL from a non-view-source URL has the incorrect assumption that the URL path includes both the query and the fragment parts. This causes these parts to be repeated after the transformation. Review URL: https://codereview.chromium.org/655023002 Cr-Commit-Position: refs/heads/master@{#299752}
* Prevent duplicate navigation to debug URLs from Telemetry.vmiura@chromium.org2014-07-291-13/+0
| | | | | | | | | | | | | | | | | Previously Telemetry enabled navigation to Debug URLs by adding a custom URL handler. However, URL handlers can be called multiple times per Navigation, and Debug URL actions must happen only once. This CL enables Telemetry URL handling to be done by the normal NavigationControllerImpl::LoadURLWithParams() to HandleDebugURL() path. This also removes the prior workaround added in crrev.com/277113002 . BUG=395326 Review URL: https://codereview.chromium.org/418733002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286117 0039d316-1c4b-4281-b951-d872f2087c98
* Move about://-related constants from //content to //urlblundell@chromium.org2014-06-101-1/+1
| | | | | | | | | | | kAboutScheme and kAboutBlankURL are used in code shared by iOS, and are general enough to live in //url instead of //content. TBR=yoz,benm Review URL: https://codereview.chromium.org/325443002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275988 0039d316-1c4b-4281-b951-d872f2087c98
* Move some content url constants to /url.sungmann.cho@navercorp.com2014-05-281-3/+3
| | | | | | | | | | | | | | | | | | | | | This CL moves the content url constants below to /url: content::kBlobScheme content::kDataScheme content::kFileScheme content::kFileSystemScheme content::kFtpScheme content::kJavaScriptScheme content::kMailToScheme This is a follow up to https://codereview.chromium.org/254763005. BUG=306258 TBR=finnur@chromium.org,mkosiba@chromium.org,derat@chromium.org TEST=compile Review URL: https://codereview.chromium.org/273193004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273359 0039d316-1c4b-4281-b951-d872f2087c98
* Move some content url constants to /url.sungmann.cho@navercorp.com2014-05-071-7/+7
| | | | | | | | | | | | This CL moves the content::kHttpScheme and content::kHttpsScheme to /url. This is a follow up to https://codereview.chromium.org/25533005. BUG=306258 TEST=compile Review URL: https://codereview.chromium.org/254763005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268782 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed namespaces in src/content.vitalybuka@chromium.org2014-05-011-4/+3
| | | | | | | | | | | | url_util -> url url_parse -> url url_canon -> url BUG=364747 Review URL: https://codereview.chromium.org/252323006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267457 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Move kChromeDevToolsScheme constant into content namespace.tfarina@chromium.org2014-02-171-1/+1
| | | | | | | | | | BUG=None TEST=None, no functional changes TBR=jam@chromium.org Review URL: https://codereview.chromium.org/168953002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251632 0039d316-1c4b-4281-b951-d872f2087c98
* Remove duplicated code in favor of IsRendererDebugURL.creis@chromium.org2014-02-131-4/+1
| | | | | | | | | | BUG=none TEST=chrome://kill and javascript: URLs still work. R=nasko@chromium.org Review URL: https://codereview.chromium.org/160743002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250871 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Move kChromeUIScheme constant into content namespace.tfarina@chromium.org2014-02-111-3/+7
| | | | | | | | | | BUG=None TEST=None, no functional changes TBR=jam@chromium.org Review URL: https://codereview.chromium.org/149643010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250244 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Enable rendering stats recording in browser compositor.ernstm@chromium.org2014-02-061-2/+2
| | | | | | | | | | | | | | | | | | This patch moves the kEnableGpuBenchmarking switch from content switches to cc switches for it to be accessible from ui/compositor/compositor.cc. If the flag is set, the browser compositor enalbes recording of rendering stats in its constructor. The recorded stats will be used by a follow-up patch that switches smoothness benchmark to use time stamps from the browser compositor when available. R=piman@chromium.org,nduca@chromium.org BUG=340747 Review URL: https://codereview.chromium.org/148983007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249307 0039d316-1c4b-4281-b951-d872f2087c98
* Add the scheme chrome-distiller:// and hook up data source.nyquist@chromium.org2014-01-271-3/+11
| | | | | | | | | | | | | | | | | | This adds the scheme chrome-distiller:// and has a minimal implementation of a data source which should be loaded when a URL with the new scheme is loaded. The chrome-distiller:// scheme will be used for displaying distilled articles, which is extracted content of web pages with long form articles. Chrome will maintain a list of such articles, and in addition, the user will be able to display such distilled content on demand for a given URL. BUG=319881 Review URL: https://codereview.chromium.org/105723002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247187 0039d316-1c4b-4281-b951-d872f2087c98
* Move kFileScheme constant into content namespace.tfarina@chromium.org2013-12-301-1/+1
| | | | | | | | | | BUG=None TEST=None, no functional changes TBR=jam@chromium.org Review URL: https://codereview.chromium.org/120593003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242712 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Move kFileSystemScheme constant into content namespace.tfarina@chromium.org2013-12-231-1/+1
| | | | | | | | | | BUG=None TEST=None TBR=jam@chromium.org Review URL: https://codereview.chromium.org/104043010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242336 0039d316-1c4b-4281-b951-d872f2087c98
* Move kFtpScheme into content namespace.tfarina@chromium.org2013-12-011-1/+1
| | | | | | | | | | BUG=None TEST=None, no functional changes. TBR=jam@chromium.org Review URL: https://codereview.chromium.org/97683002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238004 0039d316-1c4b-4281-b951-d872f2087c98
* Move navigation and frame tree classes to a new frame_host/ directory.nasko@chromium.org2013-10-301-1/+1
| | | | | | | | | | This CL moves all frame tree classes, Navigation* and its dependencies from web_contents/ to a separate frame_host/ directory. BUG=304341 Review URL: https://codereview.chromium.org/49823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231921 0039d316-1c4b-4281-b951-d872f2087c98
* Preparing to support fragment resolution against non-hierarchical schemeskristianm@chromium.org2013-10-241-1/+1
| | | | | | | | | | | | | Adds a new GURL::GetContent() to retrieve the text after scheme: specifically intended for use in non-hierarchical schemes (data: etc). Doing the first part of https://codereview.chromium.org/23835019/ in a preparation CL. BUG=291747 Review URL: https://codereview.chromium.org/23549039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230781 0039d316-1c4b-4281-b951-d872f2087c98
* Ported GpuCrashTest to Telemetry, renaming the test to ContextLost.kbr@chromium.org2013-10-171-2/+16
| | | | | | | | | | | | | | Added command line argument for disabling the WebGL infobar, required for automated recovery from context loss. Added browser-side handling of debug URLs for navigations coming from Telemetry, covered under existing --enable-gpu-benchmarking command line argument. BUG=308675 R=dtu@chromium.org, jam@chromium.org, zmo@chromium.org Review URL: https://codereview.chromium.org/27603004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229255 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move kHttpScheme constant into content namespace.tfarina@chromium.org2013-09-151-1/+1
| | | | | | | | | | BUG=None TEST=None, no functional change. TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/23658056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223272 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move kHttpsScheme constant into content namespace.tfarina@chromium.org2013-08-261-3/+2
| | | | | | | | | BUG=None TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/23112033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219495 0039d316-1c4b-4281-b951-d872f2087c98
* content: Migrate from googleurl/ includes to url/ ones.tfarina@chromium.org2013-07-091-1/+1
| | | | | | | | | BUG=229660 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/18868005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210626 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in content/browser/, part 1.avi@chromium.org2013-06-111-1/+1
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16755004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205449 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move kViewSourceScheme constant into content namespace.tfarina@chromium.org2013-05-301-4/+4
| | | | | | | | | BUG=None R=thestig@chromium.org,grt@chromium.org,joi@chromium.org,eroman@chromium.org Review URL: https://chromiumcodereview.appspot.com/15950011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203241 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move two more url constants into content namespace.tfarina@chromium.org2013-05-151-1/+1
| | | | | | | | TBR=joi@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/14698018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200165 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move more constants from url_constants.h into content namespace.tfarina@chromium.org2013-03-021-3/+3
| | | | | | | | | | BUG=98716 TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/12387070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185784 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move two more url constants into content namespace.tfarina@chromium.org2012-11-011-1/+1
| | | | | | | | | R=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/11312016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165480 0039d316-1c4b-4281-b951-d872f2087c98
* Move remaining files in content\browser to the content namespace.jam@chromium.org2012-10-301-9/+9
| | | | | | Review URL: https://codereview.chromium.org/11340029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164828 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 164120 - content/browser: Move more files into the content namespace.sail@chromium.org2012-10-251-15/+11
| | | | | | | | | | | | | | | Fixed most of the files found with the following command line: $ git grep --files-without-match --name-only "namespace content {" -- content/browser/{*.cc,*.h.*.mm} R=jam@chromium.org Review URL: https://codereview.chromium.org/11274038 TBR=tfarina@chromium.org Review URL: https://codereview.chromium.org/11273049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164122 0039d316-1c4b-4281-b951-d872f2087c98
* content/browser: Move more files into the content namespace.tfarina@chromium.org2012-10-251-11/+15
| | | | | | | | | | | | Fixed most of the files found with the following command line: $ git grep --files-without-match --name-only "namespace content {" -- content/browser/{*.cc,*.h.*.mm} R=jam@chromium.org Review URL: https://codereview.chromium.org/11274038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164120 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply 130248 - Add full support for filesystem URLs. Trying to get the ↵apavlov@chromium.org2012-04-031-2/+2
| | | | | | | | | | build into the right state. TBR=pfeldman Review URL: https://chromiumcodereview.appspot.com/9956101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130363 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 130248 - Add full support for filesystem URLs.sergeyu@chromium.org2012-04-031-2/+2
| | | | | | | | | | | | | | BUG=114484 TEST=existing filesystem tests don't break Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=128753 Review URL: https://chromiumcodereview.appspot.com/7811006 TBR=ericu@google.com Review URL: https://chromiumcodereview.appspot.com/9950079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130293 0039d316-1c4b-4281-b951-d872f2087c98
* Add full support for filesystem URLs.ericu@google.com2012-04-021-2/+2
| | | | | | | | | | | BUG=114484 TEST=existing filesystem tests don't break Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=128753 Review URL: https://chromiumcodereview.appspot.com/7811006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130248 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 128753 - Add full support for filesystem URLs.ericu@google.com2012-03-241-2/+2
| | | | | | | | | | | | BUG=114484 TEST=existing filesystem tests don't break Review URL: https://chromiumcodereview.appspot.com/7811006 TBR=ericu@google.com Review URL: https://chromiumcodereview.appspot.com/9808101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128757 0039d316-1c4b-4281-b951-d872f2087c98
* Add full support for filesystem URLs.ericu@google.com2012-03-241-2/+2
| | | | | | | | | BUG=114484 TEST=existing filesystem tests don't break Review URL: https://chromiumcodereview.appspot.com/7811006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128753 0039d316-1c4b-4281-b951-d872f2087c98
* Add a Content API around BrowserURLHandler.jam@chromium.org2012-03-121-0/+135
BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9688019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126180 0039d316-1c4b-4281-b951-d872f2087c98