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

Issue 10690023: Upstream support for WebKit shared timer toggling. (Closed)

Created:
8 years, 5 months ago by Philippe
Modified:
8 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, darin-cc_chromium.org, jochen+watch-content_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Upstream support for WebKit shared timer toggling. This is part of Chrome for Android upstreaming. These changes are used on the Java app side to suspend webkit timers in all renderers when activity is paused and resume timers when activity is resumed. This reduces javascript execution when the app is in the background, causing lesser CPU and network usage. It doesn't stop javascript altogether because if the page JS is constantly running without relying on timers/events then it continues to run (but that is quite rare). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147438

Patch Set 1 #

Patch Set 2 : Remove blank line #

Total comments: 1

Patch Set 3 : Address Yaron's comments #

Total comments: 2

Patch Set 4 : Address John's comments #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -13 lines) Patch
M base/android/jni_generator/jni_generator.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/ProcessUtils.java View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
A + chrome/browser/android/process_utils.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
A chrome/browser/android/process_utils.cc View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 3 chunks +25 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_render_process_observer.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_render_process_observer.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M content/public/renderer/render_thread.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/test/mock_render_thread.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 2 chunks +15 lines, -4 lines 0 comments Download
M content/test/mock_render_thread.cc View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Yaron
lgtm in principle but you should get a core content/chrome reviewer https://chromiumcodereview.appspot.com/10690023/diff/2001/chrome/common/render_messages.h File chrome/common/render_messages.h (right): ...
8 years, 5 months ago (2012-06-28 15:57:00 UTC) #1
Philippe
Thanks Yaron. I'm adding the appropriate reviewers for the other parts of the tree.
8 years, 5 months ago (2012-06-28 16:46:46 UTC) #2
Philippe
Ping :)
8 years, 5 months ago (2012-07-04 10:04:27 UTC) #3
Jay Civelli
lgtm
8 years, 5 months ago (2012-07-09 17:04:46 UTC) #4
Yaron
On 2012/07/09 17:04:46, Jay Civelli wrote: > lgtm note you should ask specific owners to ...
8 years, 5 months ago (2012-07-10 05:49:30 UTC) #5
Philippe
On 2012/07/10 05:49:30, Yaron wrote: > On 2012/07/09 17:04:46, Jay Civelli wrote: > > lgtm ...
8 years, 5 months ago (2012-07-11 17:21:14 UTC) #6
jam
it's odd that you have the IPC message and the dispatching code in the chrome ...
8 years, 5 months ago (2012-07-11 20:59:27 UTC) #7
Philippe
We had a recent internal refactoring moving the ProcessUtils class (including the code that sends ...
8 years, 5 months ago (2012-07-17 15:45:24 UTC) #8
Philippe
On 2012/07/17 15:45:24, Philippe wrote: > We had a recent internal refactoring moving the ProcessUtils ...
8 years, 5 months ago (2012-07-17 15:55:00 UTC) #9
jam
lgtm
8 years, 5 months ago (2012-07-19 08:01:01 UTC) #10
Philippe
Thanks John.
8 years, 5 months ago (2012-07-19 08:50:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pliard@chromium.org/10690023/16002
8 years, 5 months ago (2012-07-19 08:50:51 UTC) #12
commit-bot: I haz the power
Try job failure for 10690023-16002 (retry) on win for step "runhooks". It's a second try, ...
8 years, 5 months ago (2012-07-19 09:06:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pliard@chromium.org/10690023/31001
8 years, 5 months ago (2012-07-19 09:33:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pliard@chromium.org/10690023/32003
8 years, 5 months ago (2012-07-19 10:14:33 UTC) #15
commit-bot: I haz the power
Try job failure for 10690023-32003 (retry) on linux_rel for step "update". It's a second try, ...
8 years, 5 months ago (2012-07-19 10:48:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pliard@chromium.org/10690023/32003
8 years, 5 months ago (2012-07-19 12:39:11 UTC) #17
commit-bot: I haz the power
8 years, 5 months ago (2012-07-19 14:03:53 UTC) #18
Change committed as 147438

Powered by Google App Engine
This is Rietveld 408576698