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

Issue 2555113002: Remove ContextLifecycleObserver from ScopedWindowFocusAllowedIndicator (Closed)

Created:
4 years ago by haraken
Modified:
4 years ago
Reviewers:
sof
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ContextLifecycleObserver from ScopedWindowFocusAllowedIndicator - This CL removes ScopedWindowFocusAllowedIndicator::Observer since the observer indirection is unnecessary. - This CL makes ScopedWindowFocusAllowedIndicator hold a strong member to ExecutionContext and removes ContextLifecycleObserver. BUG=610176 Committed: https://crrev.com/7dc9259ff40eeb462367161ead5ab28ab9aa9d23 Cr-Commit-Position: refs/heads/master@{#436898}

Patch Set 1 #

Total comments: 5

Patch Set 2 : temp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -25 lines) Patch
M third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h View 1 2 chunks +9 lines, -25 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
haraken
PTAL https://codereview.chromium.org/2555113002/diff/1/third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h File third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h (left): https://codereview.chromium.org/2555113002/diff/1/third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h#oldcode44 third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h:44: // to call getExecutionContext()->consumeWindowInteraction(). I don't understand this ...
4 years ago (2016-12-07 07:49:17 UTC) #2
sof
lgtm https://codereview.chromium.org/2555113002/diff/1/third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h File third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h (left): https://codereview.chromium.org/2555113002/diff/1/third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h#oldcode44 third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h:44: // to call getExecutionContext()->consumeWindowInteraction(). On 2016/12/07 07:49:17, haraken ...
4 years ago (2016-12-07 08:02:18 UTC) #3
haraken
On 2016/12/07 08:02:18, sof wrote: > lgtm > > https://codereview.chromium.org/2555113002/diff/1/third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h > File third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h > (left): ...
4 years ago (2016-12-07 08:07:56 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2555113002/20001
4 years ago (2016-12-07 08:08:13 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-07 09:38:08 UTC) #9
commit-bot: I haz the power
4 years ago (2016-12-07 09:40:30 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7dc9259ff40eeb462367161ead5ab28ab9aa9d23
Cr-Commit-Position: refs/heads/master@{#436898}

Powered by Google App Engine
This is Rietveld 408576698