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

Issue 10201010: Switch chrome and chromiumDRT over to using the new WebKit API for dispatching events. (Closed)

Created:
8 years, 8 months ago by michaeln
Modified:
8 years, 8 months ago
Reviewers:
ericu, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, pam+watch_chromium.org, jsbell
Visibility:
Public.

Description

Switch chrome and chromiumDRT over to using the new WebKit API for dispatching events into webkit/webcore. This also includes informing DomStorageContext EventObservers of session storage mutations too since we're switching to handling them in the same way as local storage events. Note: This is patch 2 of a multi-sided affair. The new event handling won't be fully turned on until patch 3 on the webkit side. Here's patch 1... https://bugs.webkit.org/show_bug.cgi?id=84387 BUG=94382 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=134037

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -58 lines) Patch
M content/browser/dom_storage/dom_storage_message_filter.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/common/dom_storage_messages.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 2 chunks +33 lines, -24 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 2 3 2 chunks +0 lines, -3 lines 0 comments Download
M content/renderer/renderer_webstoragenamespace_impl.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/renderer_webstoragenamespace_impl.cc View 1 2 3 4 5 6 2 chunks +5 lines, -6 lines 0 comments Download
M webkit/dom_storage/dom_storage_context.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webkit/dom_storage/dom_storage_host.cc View 1 2 3 3 chunks +3 lines, -7 lines 0 comments Download
M webkit/tools/test_shell/simple_dom_storage_system.h View 1 2 3 4 5 3 chunks +28 lines, -5 lines 0 comments Download
M webkit/tools/test_shell/simple_dom_storage_system.cc View 1 2 3 4 5 6 8 chunks +83 lines, -9 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
michaeln
another one
8 years, 8 months ago (2012-04-24 23:29:08 UTC) #1
ericu
LGTM https://chromiumcodereview.appspot.com/10201010/diff/3007/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://chromiumcodereview.appspot.com/10201010/diff/3007/content/renderer/render_thread_impl.cc#newcode838 content/renderer/render_thread_impl.cc:838: // can span process boundaries, so there are ...
8 years, 8 months ago (2012-04-25 19:40:34 UTC) #2
michaeln
thnx! https://chromiumcodereview.appspot.com/10201010/diff/3007/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://chromiumcodereview.appspot.com/10201010/diff/3007/content/renderer/render_thread_impl.cc#newcode838 content/renderer/render_thread_impl.cc:838: // can span process boundaries, so there are ...
8 years, 8 months ago (2012-04-25 20:22:11 UTC) #3
michaeln
@jam, care to do a content owner review?
8 years, 8 months ago (2012-04-25 21:38:59 UTC) #4
jam
lgtm http://codereview.chromium.org/10201010/diff/28001/content/browser/dom_storage/dom_storage_message_filter.cc File content/browser/dom_storage/dom_storage_message_filter.cc (right): http://codereview.chromium.org/10201010/diff/28001/content/browser/dom_storage/dom_storage_message_filter.cc#newcode241 content/browser/dom_storage/dom_storage_message_filter.cc:241: DCHECK(area); nit: this is redundant since if it's ...
8 years, 8 months ago (2012-04-26 01:03:56 UTC) #5
michaeln
8 years, 8 months ago (2012-04-26 01:20:38 UTC) #6
https://chromiumcodereview.appspot.com/10201010/diff/28001/content/browser/do...
File content/browser/dom_storage/dom_storage_message_filter.cc (right):

https://chromiumcodereview.appspot.com/10201010/diff/28001/content/browser/do...
content/browser/dom_storage/dom_storage_message_filter.cc:241: DCHECK(area);
On 2012/04/26 01:03:56, John Abd-El-Malek wrote:
> nit: this is redundant since if it's null a crash two lines down will be just
as
> helpful

Done.

Powered by Google App Engine
This is Rietveld 408576698