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

Issue 1552213002: Implement suspend/resume for IntersectionObserver notifications. (Closed)

Created:
4 years, 11 months ago by szager1
Modified:
4 years, 11 months ago
Reviewers:
haraken, esprehn, ojan
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src@intersection-observer
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement suspend/resume for IntersectionObserver notifications. R=haraken@chromium.org,ojan@chromium.org,esprehn@chromium.org BUG=540528 Committed: https://crrev.com/018cac05f242bb39c381091b1f242799bd58cdc2 Cr-Commit-Position: refs/heads/master@{#368814}

Patch Set 1 #

Patch Set 2 : rebaseline #

Patch Set 3 : Make Controller an ActiveDOMObject #

Total comments: 2

Patch Set 4 : Make constructor explicit #

Patch Set 5 : Create IntersectionObserverController on demand #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -10 lines) Patch
M third_party/WebKit/Source/core/dom/Document.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/IntersectionObserver.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/IntersectionObserverController.h View 1 2 3 2 chunks +11 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp View 1 2 4 chunks +30 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
szager1
4 years, 11 months ago (2016-01-04 03:53:33 UTC) #1
szager1
ping
4 years, 11 months ago (2016-01-08 23:54:07 UTC) #2
szager1
ping
4 years, 11 months ago (2016-01-10 17:18:41 UTC) #3
haraken
How about just making IntersectionObserverController an ActiveDOMObject? Then IntersectionObserverController can just override ActiveDOMObject::suspend/resume and do ...
4 years, 11 months ago (2016-01-11 02:39:37 UTC) #4
szager1
On 2016/01/11 02:39:37, haraken wrote: > How about just making IntersectionObserverController an ActiveDOMObject? Then > ...
4 years, 11 months ago (2016-01-12 00:25:17 UTC) #5
haraken
Looks nicer. LGTM. https://codereview.chromium.org/1552213002/diff/40001/third_party/WebKit/Source/core/dom/IntersectionObserverController.h File third_party/WebKit/Source/core/dom/IntersectionObserverController.h (right): https://codereview.chromium.org/1552213002/diff/40001/third_party/WebKit/Source/core/dom/IntersectionObserverController.h#newcode35 third_party/WebKit/Source/core/dom/IntersectionObserverController.h:35: IntersectionObserverController(Document*); Add explicit.
4 years, 11 months ago (2016-01-12 00:43:55 UTC) #6
szager1
https://codereview.chromium.org/1552213002/diff/40001/third_party/WebKit/Source/core/dom/IntersectionObserverController.h File third_party/WebKit/Source/core/dom/IntersectionObserverController.h (right): https://codereview.chromium.org/1552213002/diff/40001/third_party/WebKit/Source/core/dom/IntersectionObserverController.h#newcode35 third_party/WebKit/Source/core/dom/IntersectionObserverController.h:35: IntersectionObserverController(Document*); On 2016/01/12 00:43:55, haraken wrote: > > Add ...
4 years, 11 months ago (2016-01-12 01:03:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1552213002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1552213002/60001
4 years, 11 months ago (2016-01-12 01:06:08 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/157830)
4 years, 11 months ago (2016-01-12 02:23:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1552213002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1552213002/80001
4 years, 11 months ago (2016-01-12 05:54:47 UTC) #15
szager1
PTAL: IntersectionObserverController is now created only as needed.
4 years, 11 months ago (2016-01-12 05:55:02 UTC) #16
haraken
LGTM
4 years, 11 months ago (2016-01-12 05:56:30 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1552213002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1552213002/80001
4 years, 11 months ago (2016-01-12 05:57:38 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 11 months ago (2016-01-12 07:22:46 UTC) #21
commit-bot: I haz the power
4 years, 11 months ago (2016-01-12 07:24:46 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/018cac05f242bb39c381091b1f242799bd58cdc2
Cr-Commit-Position: refs/heads/master@{#368814}

Powered by Google App Engine
This is Rietveld 408576698