|
Remove NavigationAction
It's not really a useful abstraction. Most of the data it stores should be transient (m_eventTimeStamp, m_policy) or is redundant (m_resourceRequest). However, m_type is still useful, so instead of storing a NavigationAction on DocumentLoader, store a NavigationType.
The code that determines the NavigationPolcy and NavigationType lives in NavigationAction and is still necessary, so break that out into a couple of file-scope static helpers in FrameLoader.
Also, rename FrameLoader::loadWithNavigationAction() to startLoad() and have it take a FrameLoadRequest& instead of 5 parameters that were just read off of a FrameLoadRequest.
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187310
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+79 lines, -208 lines) |
Patch |
 |
M |
Source/core/core.gypi
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/DocumentLoader.h
|
View
|
1
|
3 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/DocumentLoader.cpp
|
View
|
1
|
4 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/FrameLoader.h
|
View
|
1
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/FrameLoader.cpp
|
View
|
1
2
|
12 chunks |
+59 lines, -32 lines |
1 comment
|
Download
|
 |
D |
Source/core/loader/NavigationAction.h
|
View
|
|
1 chunk |
+0 lines, -63 lines |
0 comments
|
Download
|
 |
D |
Source/core/loader/NavigationAction.cpp
|
View
|
|
1 chunk |
+0 lines, -78 lines |
0 comments
|
Download
|
 |
M |
Source/core/timing/Performance.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/timing/PerformanceNavigation.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/web/WebDataSourceImpl.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/WebDataSourceImpl.cpp
|
View
|
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
Source/web/WebDocument.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/web/tests/WebFrameTest.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
public/web/WebDataSource.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
public/web/WebFrameClient.h
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
Total messages: 14 (6 generated)
|