|
|
Add Frame::isMainFrame and deploy it
I originally started this to remove Page.h includes
but found that it just made the code simpler to read in most cases.
In an out of process iframes enabled Blink it will not be
possible to access the Page object from core/, so Frame will
have to know itself if it is (or thinks it is) the main frame.
There are quite a few uses of Page::mainFrame() in core/inspector/
code but it's not obvious that the frame being compared always has
the same page as the page its being compared with, so I didn't
change those for now.
BUG= 305811
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161367
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+33 lines, -42 lines) |
Patch |
 |
M |
Source/bindings/v8/V8WindowShell.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/FontFaceSet.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Document.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/frame/DOMWindow.cpp
|
View
|
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/Frame.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/Frame.cpp
|
View
|
|
4 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/ImageDocument.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/loader/FrameLoader.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/HistoryController.cpp
|
View
|
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/AutoscrollController.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/EventHandler.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/CompositedLayerMapping.cpp
|
View
|
|
1 chunk |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderGeometryMap.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerCompositor.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderView.cpp
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|