|
Simplify handling of LocalFrame lifecycle notifications.
LocalFrame provides a registration interface for observers to observe
its detachment and destruction, by way of FrameDestructionObserver.
Just like the derived objects of LifecycleNotifier<> do, hence it makes
sense for LocalFrame to also use that interface and implementation. Done
so here by introducing LocalFrameLifecycleNotifier<>.
On the observer side, the FrameDestructionObserver interface now derives
from LifecycleObserver<>, reusing its implementation. Instead of
canonicalizing its name as LocalFrameLifecycleObserver also, keep the
established FrameDestructionObserver.
R=haraken
BUG= 462949
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192231
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+71 lines, -109 lines) |
Patch |
|
M |
Source/core/core.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/ContextLifecycleObserver.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/ContextLifecycleObserver.cpp
|
View
|
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/DocumentLifecycleObserver.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/dom/DocumentLifecycleObserver.cpp
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/DOMWindowLifecycleObserver.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/frame/DOMWindowLifecycleObserver.cpp
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/FrameDestructionObserver.h
|
View
|
1
2
3
4
5
|
1 chunk |
+9 lines, -14 lines |
2 comments
|
Download
|
|
M |
Source/core/frame/FrameDestructionObserver.cpp
|
View
|
|
2 chunks |
+1 line, -30 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/LocalDOMWindow.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/frame/LocalDOMWindow.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/LocalFrame.h
|
View
|
1
2
3
|
5 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/LocalFrame.cpp
|
View
|
1
2
3
|
4 chunks |
+3 lines, -18 lines |
2 comments
|
Download
|
|
A |
Source/core/frame/LocalFrameLifecycleNotifier.h
|
View
|
1
2
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/core/frame/LocalFrameLifecycleNotifier.cpp
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/page/PageLifecycleObserver.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/page/PageLifecycleObserver.cpp
|
View
|
|
1 chunk |
+0 lines, -10 lines |
1 comment
|
Download
|
|
M |
Source/modules/storage/StorageArea.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/platform/LifecycleContextTest.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
Source/platform/LifecycleObserver.h
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 9 (3 generated)
|