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

Unified Diff: third_party/WebKit/Source/web/WebDataSourceImpl.cpp

Issue 2655143002: Drop replacesCurrentHistoryItem, NavigationType (Closed)
Patch Set: More compile fixes Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebDataSourceImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
index 10f872153156450b9b7a9fc1e1fb0bd04a815644..159a689893921ca7447bb5f37a38fa0b0f977579 100644
--- a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
+++ b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
@@ -98,14 +98,6 @@ bool WebDataSourceImpl::isClientRedirect() const {
return DocumentLoader::isClientRedirect();
}
-bool WebDataSourceImpl::replacesCurrentHistoryItem() const {
- return DocumentLoader::replacesCurrentHistoryItem();
-}
-
-WebNavigationType WebDataSourceImpl::navigationType() const {
- return toWebNavigationType(DocumentLoader::getNavigationType());
-}
-
WebDataSource::ExtraData* WebDataSourceImpl::getExtraData() const {
return m_extraData.get();
}
@@ -120,24 +112,6 @@ void WebDataSourceImpl::setNavigationStartTime(double navigationStart) {
timing().setNavigationStart(navigationStart);
}
-WebNavigationType WebDataSourceImpl::toWebNavigationType(NavigationType type) {
- switch (type) {
- case NavigationTypeLinkClicked:
- return WebNavigationTypeLinkClicked;
- case NavigationTypeFormSubmitted:
- return WebNavigationTypeFormSubmitted;
- case NavigationTypeBackForward:
- return WebNavigationTypeBackForward;
- case NavigationTypeReload:
- return WebNavigationTypeReload;
- case NavigationTypeFormResubmitted:
- return WebNavigationTypeFormResubmitted;
- case NavigationTypeOther:
- default:
- return WebNavigationTypeOther;
- }
-}
-
WebDataSourceImpl::WebDataSourceImpl(LocalFrame* frame,
const ResourceRequest& request,
const SubstituteData& data,
« no previous file with comments | « third_party/WebKit/Source/web/WebDataSourceImpl.h ('k') | third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698