Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1069)

Issue 9387015: Upstreaming prerendering changes for Android. (Closed)

Created:
8 years, 10 months ago by Jay Civelli
Modified:
8 years, 10 months ago
Reviewers:
dominich, cbentzel
CC:
chromium-reviews, tburkard+watch_chromium.org, cbentzel+watch_chromium.org, dominich+watch_chromium.org, mmenke
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Upstreaming prerendering changes for Android. These changes are used by the Android port. Mostly they allow to: - figure-out if a page has been fully rendered before switching to it. - set a default size when there is no active browser (which is the case on Chrome for Android) BUG=None TEST=All prerender tests should still pass. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122209

Patch Set 1 #

Patch Set 2 : More changes #

Patch Set 3 : More changes #

Total comments: 15

Patch Set 4 : 2 #

Total comments: 2

Patch Set 5 : 3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -2 lines) Patch
M chrome/browser/prerender/prerender_config.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_config.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_contents.h View 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 2 3 3 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_manager.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.cc View 1 2 3 3 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Jay Civelli
8 years, 10 months ago (2012-02-13 23:56:18 UTC) #1
dominich
Almost there. I think the default bounds can be consolidated with the existing default bounds ...
8 years, 10 months ago (2012-02-14 01:11:20 UTC) #2
cbentzel
https://chromiumcodereview.appspot.com/9387015/diff/2001/chrome/browser/prerender/prerender_manager.h File chrome/browser/prerender/prerender_manager.h (right): https://chromiumcodereview.appspot.com/9387015/diff/2001/chrome/browser/prerender/prerender_manager.h#newcode175 chrome/browser/prerender/prerender_manager.h:175: bool DidPrerenderFinishLoading(const GURL& url); const? The comment about "Needs ...
8 years, 10 months ago (2012-02-14 01:20:31 UTC) #3
Jay Civelli
https://chromiumcodereview.appspot.com/9387015/diff/2001/chrome/browser/prerender/prerender_contents.cc File chrome/browser/prerender/prerender_contents.cc (right): https://chromiumcodereview.appspot.com/9387015/diff/2001/chrome/browser/prerender/prerender_contents.cc#newcode277 chrome/browser/prerender/prerender_contents.cc:277: gfx::Rect default_tab_bounds = prerender_manager_->default_tab_bounds(); On 2012/02/14 01:11:20, dominich wrote: ...
8 years, 10 months ago (2012-02-14 03:13:51 UTC) #4
cbentzel
Generally looks fine, except: We do drop the priority of the prerender renderer process. Since ...
8 years, 10 months ago (2012-02-14 10:33:36 UTC) #5
cbentzel
On 2012/02/14 10:33:36, cbentzel wrote: > Generally looks fine, except: > > We do drop ...
8 years, 10 months ago (2012-02-14 11:25:32 UTC) #6
dominich
Seeing no difference from the instant version is great, but do confirm that you're not ...
8 years, 10 months ago (2012-02-14 16:38:59 UTC) #7
Jay Civelli
I don't think we have to worry about the process priority getting lowered. In render_process_host_impl.cc ...
8 years, 10 months ago (2012-02-14 17:37:21 UTC) #8
dominich
On 2012/02/14 17:37:21, Jay Civelli wrote: > I don't think we have to worry about ...
8 years, 10 months ago (2012-02-14 17:41:50 UTC) #9
cbentzel
On Tue, Feb 14, 2012 at 12:37 PM, <jcivelli@chromium.org> wrote: > I don't think we ...
8 years, 10 months ago (2012-02-14 17:58:18 UTC) #10
dominich
lgtm
8 years, 10 months ago (2012-02-14 18:35:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jcivelli@chromium.org/9387015/9001
8 years, 10 months ago (2012-02-15 22:58:26 UTC) #12
commit-bot: I haz the power
8 years, 10 months ago (2012-02-16 01:18:01 UTC) #13
Change committed as 122209

Powered by Google App Engine
This is Rietveld 408576698