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

Issue 7036019: Enabling page visibility api in the chrome browser. (Closed)

Created:
9 years, 7 months ago by Shishir
Modified:
9 years, 7 months ago
CC:
chromium-reviews, tburkard+watch_chromium.org, cbentzel+watch_chromium.org, jam, Avi (use Gerrit), brettw-cc_chromium.org
Visibility:
Public.

Description

Enabling page visibility api in the chrome browser. BUG=83286 TEST=None. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86569 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86881

Patch Set 1 #

Total comments: 15

Patch Set 2 : Addressing Brett's comments. Moving visiblity to TabContentsView. #

Patch Set 3 : Using the RenderViews's hidden state only to drive page visibility. #

Patch Set 4 : Synced for commit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M build/features_override.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/render_view.cc View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Shishir
9 years, 7 months ago (2011-05-17 21:46:48 UTC) #1
brettw
http://codereview.chromium.org/7036019/diff/1/chrome/browser/prerender/prerender_contents.cc File chrome/browser/prerender/prerender_contents.cc (right): http://codereview.chromium.org/7036019/diff/1/chrome/browser/prerender/prerender_contents.cc#newcode564 chrome/browser/prerender/prerender_contents.cc:564: // Always in a hidden state, comma -> period. ...
9 years, 7 months ago (2011-05-18 22:11:37 UTC) #2
Shishir
http://codereview.chromium.org/7036019/diff/1/content/browser/tab_contents/tab_contents_delegate.h File content/browser/tab_contents/tab_contents_delegate.h (right): http://codereview.chromium.org/7036019/diff/1/content/browser/tab_contents/tab_contents_delegate.h#newcode292 content/browser/tab_contents/tab_contents_delegate.h:292: virtual bool IsHidden(const TabContents* source) const; On 2011/05/18 22:11:38, ...
9 years, 7 months ago (2011-05-19 02:51:25 UTC) #3
brettw
http://codereview.chromium.org/7036019/diff/1/content/browser/tab_contents/tab_contents_delegate.h File content/browser/tab_contents/tab_contents_delegate.h (right): http://codereview.chromium.org/7036019/diff/1/content/browser/tab_contents/tab_contents_delegate.h#newcode292 content/browser/tab_contents/tab_contents_delegate.h:292: virtual bool IsHidden(const TabContents* source) const; Is there the ...
9 years, 7 months ago (2011-05-19 04:45:09 UTC) #4
Shishir
http://codereview.chromium.org/7036019/diff/1/content/browser/tab_contents/tab_contents_delegate.h File content/browser/tab_contents/tab_contents_delegate.h (right): http://codereview.chromium.org/7036019/diff/1/content/browser/tab_contents/tab_contents_delegate.h#newcode292 content/browser/tab_contents/tab_contents_delegate.h:292: virtual bool IsHidden(const TabContents* source) const; The forground tab ...
9 years, 7 months ago (2011-05-19 18:46:23 UTC) #5
brettw
The way that this is currently hooked up is messed up. Adding another layer of ...
9 years, 7 months ago (2011-05-19 20:30:09 UTC) #6
Shishir
http://codereview.chromium.org/7036019/diff/1/chrome/browser/prerender/prerender_contents.cc File chrome/browser/prerender/prerender_contents.cc (right): http://codereview.chromium.org/7036019/diff/1/chrome/browser/prerender/prerender_contents.cc#newcode564 chrome/browser/prerender/prerender_contents.cc:564: // Always in a hidden state, On 2011/05/18 22:11:38, ...
9 years, 7 months ago (2011-05-20 03:48:19 UTC) #7
Shishir
A bunch of discussion about this happened off thread and in person, summarized below: - ...
9 years, 7 months ago (2011-05-24 19:25:49 UTC) #8
brettw
I think a lower risk, lower complexity change in the RenderView sounds like a good ...
9 years, 7 months ago (2011-05-24 19:42:59 UTC) #9
Shishir
Uploaded changes to only use the RenderView hidden state as earlier described. Please take a ...
9 years, 7 months ago (2011-05-24 20:49:02 UTC) #10
dominich
LGTM Having this tied to the interval timer changes makes for a consistent experience for ...
9 years, 7 months ago (2011-05-24 20:52:21 UTC) #11
Ben Goodger (Google)
In fact, looking at this updated CL I am convinced it is the right one ...
9 years, 7 months ago (2011-05-24 21:18:53 UTC) #12
brettw
LGTM
9 years, 7 months ago (2011-05-24 22:45:31 UTC) #13
commit-bot: I haz the power
Change committed as 86569
9 years, 7 months ago (2011-05-25 04:04:52 UTC) #14
commit-bot: I haz the power
Try job failure for 7036019-11002 on win: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=33797
9 years, 7 months ago (2011-05-26 18:31:52 UTC) #15
commit-bot: I haz the power
9 years, 7 months ago (2011-05-26 20:04:22 UTC) #16
Change committed as 86881

Powered by Google App Engine
This is Rietveld 408576698