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

Issue 6136005: Chromium support for window.webkitRequestAnimationFrame() (Closed)

Created:
9 years, 11 months ago by jamesr
Modified:
9 years, 6 months ago
CC:
chromium-reviews, pam+watch_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Chromium support for window.webkitRequestAnimationFrame() This is a very simple scheduler that targets 100fps. BUG=64848 TEST=layout tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71909 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72230

Patch Set 1 #

Total comments: 5

Patch Set 2 : patch 2 #

Patch Set 3 : ScheduleAnimation implemented as part of WebWidgetHost #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -6 lines) Patch
M build/features_override.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/render_widget.h View 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/renderer/render_widget.cc View 1 4 chunks +29 lines, -3 lines 0 comments Download
M chrome/renderer/render_widget_fullscreen_pepper.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/mac/webwidget_host.mm View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M webkit/tools/test_shell/test_shell.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/webwidget_host.h View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
A webkit/tools/test_shell/webwidget_host.cc View 1 2 1 chunk +14 lines, -0 lines 1 comment Download
M webkit/tools/test_shell/webwidget_host_gtk.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M webkit/tools/test_shell/webwidget_host_win.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
jamesr
This corresponds with the patch currently up for review at https://bugs.webkit.org/show_bug.cgi?id=51218. Assuming everything looks good, ...
9 years, 11 months ago (2011-01-11 00:36:02 UTC) #1
darin (slow to review)
http://codereview.chromium.org/6136005/diff/1/chrome/renderer/render_widget.cc File chrome/renderer/render_widget.cc (right): http://codereview.chromium.org/6136005/diff/1/chrome/renderer/render_widget.cc#newcode491 chrome/renderer/render_widget.cc:491: if (!is_hidden() && animation_update_pending_ && base::Time::Now() > animation_floor_time_) { ...
9 years, 11 months ago (2011-01-11 22:02:30 UTC) #2
jamesr
http://codereview.chromium.org/6136005/diff/1/webkit/tools/test_shell/test_webview_delegate.cc File webkit/tools/test_shell/test_webview_delegate.cc (right): http://codereview.chromium.org/6136005/diff/1/webkit/tools/test_shell/test_webview_delegate.cc#newcode687 webkit/tools/test_shell/test_webview_delegate.cc:687: MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod( On 2011/01/11 22:02:30, darin wrote: > Piggy ...
9 years, 11 months ago (2011-01-12 00:02:43 UTC) #3
darin (slow to review)
On Tue, Jan 11, 2011 at 4:02 PM, <jamesr@chromium.org> wrote: > > > http://codereview.chromium.org/6136005/diff/1/webkit/tools/test_shell/test_webview_delegate.cc > ...
9 years, 11 months ago (2011-01-12 22:00:54 UTC) #4
jamesr1
Woah! mind=blown. I can do that (although I'll have to write it three times for ...
9 years, 11 months ago (2011-01-12 22:02:16 UTC) #5
darin (slow to review)
it seems like we could have shared code for this, right? -darin On Wed, Jan ...
9 years, 11 months ago (2011-01-12 22:27:09 UTC) #6
jamesr
this puts the logic in a cross-platform webwidget_host.cc file, but i still have to touch ...
9 years, 11 months ago (2011-01-12 22:55:30 UTC) #7
darin (slow to review)
LGTM It seems like we would benefit from factoring other platform independent bits of WebWidgetHost ...
9 years, 11 months ago (2011-01-13 07:13:24 UTC) #8
jamesr
9 years, 11 months ago (2011-01-20 03:01:40 UTC) #9
commit the render_widget_fullscreen_pepper.cc change so the WebKit side could
land.  Will land the rest after the WebKit roll (so I see the WebWidget
interface change).

Powered by Google App Engine
This is Rietveld 408576698