summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prerender/prerender_contents.h
Commit message (Collapse)AuthorAgeFilesLines
* Move WebUIFactory to chrome/, try 2.estade@chromium.org2011-03-301-0/+1
| | | | | | | | | | | | | first try was r79691 This fixes the SiteInstance unit test failure. SiteInstance has all kinds of dependencies into chrome/. This fixes the unittest just enough to get it passing without trying to refactor SiteInstance at all. BUG=77092 TEST=trybots, again Review URL: http://codereview.chromium.org/6731060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79849 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 79691 - Move WebUIFactory to chrome/browser.estade@chromium.org2011-03-291-1/+0
| | | | | | | | | | | | | | | | This reduces dependencies from content/ to chrome/. WebUIFactory is the interface in content/ to ChromeWebUIFactory in chrome/ BUG=77092 TEST=none Review URL: http://codereview.chromium.org/6713082 TBR=estade@chromium.org Review URL: http://codereview.chromium.org/6708114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79693 0039d316-1c4b-4281-b951-d872f2087c98
* Move WebUIFactory to chrome/browser.estade@chromium.org2011-03-291-0/+1
| | | | | | | | | | | | | This reduces dependencies from content/ to chrome/. WebUIFactory is the interface in content/ to ChromeWebUIFactory in chrome/ BUG=77092 TEST=none Review URL: http://codereview.chromium.org/6713082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79691 0039d316-1c4b-4281-b951-d872f2087c98
* Move extension messages to their own file and add a RenderViewObserver to ↵jam@chromium.org2011-03-281-1/+2
| | | | | | | | | start moving the extension code out of RenderView. TBR=aa Review URL: http://codereview.chromium.org/6735004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79561 0039d316-1c4b-4281-b951-d872f2087c98
* Added better debug message on expected status check faildominich@google.com2011-03-251-0/+2
| | | | | | | | | BUG=77323 TEST=BrowserTest Prerender.PrerenderInfiniteLoopMultiple Review URL: http://codereview.chromium.org/6736032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79423 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of renderer->browser messages to content.jam@chromium.org2011-03-231-1/+1
| | | | | | | TBR=tsepez Review URL: http://codereview.chromium.org/6721021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79152 0039d316-1c4b-4281-b951-d872f2087c98
* Add pending preloads indexed by routing id. Start preloading once we navigate.dominich@google.com2011-03-231-0/+8
| | | | | | | | | BUG=72519 TEST=Create a page A that has a <link rel=prefetch> hint for another page B. In page B, add a <link rel=prefetch> hint for page A. Visit A and observe the prefetch for A only starts on navigation to B. Review URL: http://codereview.chromium.org/6625066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79141 0039d316-1c4b-4281-b951-d872f2087c98
* For prerendering, add a perceived pageload time metric for pages thattburkard@chromium.org2011-03-161-0/+3
| | | | | | | | have been (treatment group) and would have been (control group) prerendered. Review URL: http://codereview.chromium.org/6696038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78453 0039d316-1c4b-4281-b951-d872f2087c98
* fav icon -> favicon. Pass 1.avi@chromium.org2011-03-141-1/+1
| | | | | | | | | BUG=76073 TEST=none; no visible change Review URL: http://codereview.chromium.org/6679047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78076 0039d316-1c4b-4281-b951-d872f2087c98
* Update a bunch of files to the new location of notification files.tfarina@chromium.org2011-03-091-1/+1
| | | | | | | | | | | Third part of the remaining files. BUG=None TEST=None Review URL: http://codereview.chromium.org/6650020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77458 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of a bunch of includes to old locations of headers.jam@chromium.org2011-03-021-1/+1
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6602061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76470 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that Prerendering uses not more than 100MB per prerendered page.tburkard@chromium.org2011-02-241-0/+23
| | | | | | | | | TEST=PrerenderBrowserTest.PrerenderExcessiveMemory BUG=73855 Review URL: http://codereview.chromium.org/6576009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75936 0039d316-1c4b-4281-b951-d872f2087c98
* Cancel prerender if any of the visited URLs are https, part 3.cbentzel@chromium.org2011-02-201-1/+3
| | | | | | | | | | | | | | | This is similar to the two previous times I tried to land, with one important change: The PrerenderContents constructor does not do AddAliasURL within a DCHECK. Also, changed some EXPECT_EQ's to ASSERT_EQ's to prevent crashes. These weren't immediate segfaults, but happened due to double deletes if GetEntry() did not return an expected value. BUG=72486 TEST=added new unit_tests and browser_tests Manual Test: With preendering enabled, do a search for "yahoo mail". Prerendering should be canceled due to https. Review URL: http://codereview.chromium.org/6543023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75522 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75393 - Cancel prerender if any of the visited URLs are https.cbentzel@chromium.org2011-02-181-3/+1
| | | | | | | | | | | | | | BUG=72486 TEST=added new unit_tests and browser_tests Manual Test: With preendering enabled, do a search for "yahoo mail". Prerendering should be canceled due to https. Review URL: http://codereview.chromium.org/6523062 TBR=cbentzel@chromium.org Review URL: http://codereview.chromium.org/6543010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75395 0039d316-1c4b-4281-b951-d872f2087c98
* Cancel prerender if any of the visited URLs are https.cbentzel@chromium.org2011-02-181-1/+3
| | | | | | | | | | | BUG=72486 TEST=added new unit_tests and browser_tests Manual Test: With preendering enabled, do a search for "yahoo mail". Prerendering should be canceled due to https. Review URL: http://codereview.chromium.org/6523062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75393 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes lack of referrer when prerendering.mmenke@chromium.org2011-02-161-2/+6
| | | | | | | | | | | | Uses the final referrer from the prefetch URLRequest as the referrer for prerendered pages. BUG=72228 TEST=PrerenderBrowserTest.PrerenderReferrer Review URL: http://codereview.chromium.org/6486009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75119 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75001 - Cancel prerender if any of the visited URLs are https.cbentzel@chromium.org2011-02-151-3/+1
| | | | | | | | | | | | | | BUG=72486 TEST=added new unit_tests and browser_tests Manual Test: With preendering enabled, do a search for "yahoo mail". Prerendering should be canceled due to https. Review URL: http://codereview.chromium.org/6480077 TBR=cbentzel@chromium.org Review URL: http://codereview.chromium.org/6523035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75009 0039d316-1c4b-4281-b951-d872f2087c98
* Cancel prerender if any of the visited URLs are https.cbentzel@chromium.org2011-02-151-1/+3
| | | | | | | | | | | BUG=72486 TEST=added new unit_tests and browser_tests Manual Test: With preendering enabled, do a search for "yahoo mail". Prerendering should be canceled due to https. Review URL: http://codereview.chromium.org/6480077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75001 0039d316-1c4b-4281-b951-d872f2087c98
* Move FinalStatus out of PrerenderContents, and add prerender namespace.cbentzel@chromium.org2011-02-151-17/+7
| | | | | | | | | | | I had a separate CL which wanted to record cancellations of prerenders which happened prior to a PrerenderContents object being created [in the PrerenderResourceHandler]. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6503008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74937 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Rename ProcessDOMUIMessage to ProcessWebUIMessage.tfarina@chromium.org2011-02-121-1/+1
| | | | | | | | | BUG=59945 TEST=trybots Review URL: http://codereview.chromium.org/6507012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74710 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Improve fullscreen RenderWidgetHostViewGtk.derat@chromium.org2011-02-111-2/+1
| | | | | | | | | | | | | | | | | | | | This was previously using the same code as for popup windows (i.e. <select> and autocomplete), which creates an override-redirect/popup window and grabs the pointer and keyboard. This is the wrong way to make a window fullscreen: since the window is override-redirect, the window manager will ignore the fullscreen request, and since the input is grabbed, other X clients' key grabs (such as Alt-Tab) won't work. This change makes us instead open a regular toplevel window. BUG=chromium-os:11545 TEST=checked that brightness and volume keys work while Pepper Flash is fullscreen and that <select> popups still work Review URL: http://codereview.chromium.org/6462017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74534 0039d316-1c4b-4281-b951-d872f2087c98
* Fix favicon display in prerenderingtburkard@chromium.org2011-02-081-0/+4
| | | | | | | | | BUG=71222 TEST=prerender & navigate to a URL, verify the favicon Review URL: http://codereview.chromium.org/6462002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74196 0039d316-1c4b-4281-b951-d872f2087c98
* Cancel a prerender should some part of the page request an http ↵cbentzel@chromium.org2011-02-041-0/+1
| | | | | | | | | | | | | authentication prompt. Contributed by: dominich@chromium.org TEST=Navigate to a page with a <link rel="prefetch"> referencing a page that contains an iframe whose source requires http authentication. The page should not be prerendered and navigating to the page should show the login prompt as expected. BUG=71211 Review URL: http://codereview.chromium.org/6410003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73817 0039d316-1c4b-4281-b951-d872f2087c98
* Add additional histograms to assess the effectiveness of prerendering.tburkard@chromium.org2011-02-031-0/+8
| | | | | | | | | BUG=71061,70955 TEST=none Review URL: http://codereview.chromium.org/6410040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73646 0039d316-1c4b-4281-b951-d872f2087c98
* Added comment about FinalStatus enum.cbentzel@chromium.org2011-02-031-1/+2
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6410052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73612 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73502 - Record additional histograms to assess prerendering effectivenesstburkard@chromium.org2011-02-021-8/+0
| | | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6334036 TBR=tburkard@chromium.org Review URL: http://codereview.chromium.org/6312100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73515 0039d316-1c4b-4281-b951-d872f2087c98
* Record additional histograms to assess prerendering effectivenesstburkard@chromium.org2011-02-021-0/+8
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6334036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73502 0039d316-1c4b-4281-b951-d872f2087c98
* Histogram why a prerendered page was used or abandoned.cbentzel@chromium.org2011-01-311-1/+27
| | | | | | | | | | | Examples include that the page was used, that it timed out, that it was canceled due to the page trying to create a new window, etc. BUG=71065 TEST=unit_tests --gtest_filter="*Prerender*" Review URL: http://codereview.chromium.org/6402005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73169 0039d316-1c4b-4281-b951-d872f2087c98
* Add Perceived PageLoad Time (PPLT) metrics for Prerender Experiments.tburkard@chromium.org2011-01-261-0/+4
| | | | | | | | | BUG=None Test=None Review URL: http://codereview.chromium.org/6263014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72714 0039d316-1c4b-4281-b951-d872f2087c98
* Browser test for prerendering in generalmmenke@google.com2011-01-261-2/+24
| | | | | | | | | | | | | | | | (PrerenderBrowserTest.PrerenderPage) Also switch PrerenderManager from inheriting from NonThreadSafe to using explicit DCHECKs, so doesn't cause a debug assertion when destroyed on another thread. BUG=70398 TEST=PrerenderBrowserTest.PrerenderPage Review URL: http://codereview.chromium.org/6255005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72573 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use GetAsTabContents. Send notifications from TabContentsView instead.jochen@chromium.org2011-01-241-2/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6330007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72354 0039d316-1c4b-4281-b951-d872f2087c98
* For prerendering, keep track of all the intermediate redirects, and hook intotburkard@chromium.org2011-01-181-1/+24
| | | | | | | | | | the provisional load messages to catch an earlier time to substitute in the prerendered page. BUG=none TEST=search for techcrunch and notice how the preloaded techcrunch.com is used despite the redirect Review URL: http://codereview.chromium.org/6171007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71721 0039d316-1c4b-4281-b951-d872f2087c98
* Unit test for PrerenderManagertburkard@chromium.org2010-12-161-1/+1
| | | | | | | | | TEST=run PrerenderManagerTest BUG=none Review URL: http://codereview.chromium.org/5720006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69419 0039d316-1c4b-4281-b951-d872f2087c98
* Keep deinlining stuff.erg@google.com2010-12-151-4/+4
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5783004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69273 0039d316-1c4b-4281-b951-d872f2087c98
* Prerender: Add PrerenderManager and PrerenderContentscbentzel@chromium.org2010-12-081-0/+168
Contributed By: tburkard@chromium.org BUG=None TEST=trybots, no new unit tests Review URL: http://codereview.chromium.org/5180005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68602 0039d316-1c4b-4281-b951-d872f2087c98