|
Make canNavigate() OOPI-friendly
* Move SandboxFlags from ExecutionContext to SecurityContext (SandboxFlags aren't propagated for RemoteFrames, but this puts the state in a place where RemoteFrames could access it when it is plumbed)
* Teach HTMLFrameOwnerElement about its Document's SandboxFlags and don't make FrameLoader check both objects to generate this Frame's SandboxFlags.
* Now that SandboxFlags are in a general location, move canNavigate from Document to Frame
* Now that canNavigate() can handle RemoteFrames, move findFrameForNavigation from FrameLoader to Frame
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188097
Total comments: 18
Total comments: 10
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+175 lines, -177 lines) |
Patch |
 |
M |
Source/core/dom/Document.h
|
View
|
1
2
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Document.cpp
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -115 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/ExecutionContext.h
|
View
|
1
2
3
|
4 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/ExecutionContext.cpp
|
View
|
1
2
|
2 chunks |
+1 line, -13 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/RemoteSecurityContext.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/SecurityContext.h
|
View
|
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/SecurityContext.cpp
|
View
|
1
2
3
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/Frame.h
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/Frame.cpp
|
View
|
1
2
3
4
|
1 chunk |
+98 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.cpp
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/History.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/frame/LocalDOMWindow.cpp
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/LocalFrame.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/LocalFrame.cpp
|
View
|
1
2
3
4
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/Location.cpp
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/RemoteFrame.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLFormElement.cpp
|
View
|
1
2
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLFrameOwnerElement.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLFrameOwnerElement.cpp
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/FrameLoader.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/FrameLoader.cpp
|
View
|
1
2
3
4
|
4 chunks |
+7 lines, -18 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/CreateWindow.cpp
|
View
|
1
2
3
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 14 (2 generated)
|