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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 1144463003: Remove Navigation Transitions from Chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed TransitionPageHelper. Created 5 years, 7 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 269b4716ef5394cf4896845482aea7f809d24a7c..36c1930cc91c2303322400a03bb2e3d276ec6a76 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -727,11 +727,6 @@ void WebContentsImpl::RequestAXTreeSnapshot(AXTreeSnapshotCallback callback) {
GetMainFrame()->RequestAXTreeSnapshot(callback);
}
-void WebContentsImpl::ClearNavigationTransitionData() {
- FrameTreeNode* node = frame_tree_.root();
- node->render_manager()->ClearNavigationTransitionData();
-}
-
WebUI* WebContentsImpl::CreateWebUI(const GURL& url) {
WebUIImpl* web_ui = new WebUIImpl(this);
WebUIController* controller = WebUIControllerFactoryRegistry::GetInstance()->
@@ -2587,15 +2582,6 @@ void WebContentsImpl::DidStartProvisionalLoad(
}
}
-void WebContentsImpl::DidStartNavigationTransition(
- RenderFrameHostImpl* render_frame_host) {
-#if defined(OS_ANDROID)
- int render_frame_id = render_frame_host->GetRoutingID();
- GetWebContentsAndroid()->DidStartNavigationTransitionForFrame(
- render_frame_id);
-#endif
-}
-
void WebContentsImpl::DidFailProvisionalLoadWithError(
RenderFrameHostImpl* render_frame_host,
const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {
@@ -3707,21 +3693,6 @@ void WebContentsImpl::SwappedOut(RenderFrameHost* rfh) {
delegate_->SwappedOut(this);
}
-void WebContentsImpl::DidDeferAfterResponseStarted(
- const TransitionLayerData& transition_data) {
-#if defined(OS_ANDROID)
- GetWebContentsAndroid()->DidDeferAfterResponseStarted(transition_data);
-#endif
-}
-
-bool WebContentsImpl::WillHandleDeferAfterResponseStarted() {
-#if defined(OS_ANDROID)
- return GetWebContentsAndroid()->WillHandleDeferAfterResponseStarted();
-#else
- return false;
-#endif
-}
-
void WebContentsImpl::RequestMove(const gfx::Rect& new_bounds) {
if (delegate_ && delegate_->IsPopupOrPanel(this))
delegate_->MoveContents(this, new_bounds);
@@ -4426,11 +4397,6 @@ void WebContentsImpl::RemoveAllMediaPlayerEntries(
player_map->erase(it);
}
-void WebContentsImpl::ResumeResponseDeferredAtStart() {
- FrameTreeNode* node = frame_tree_.root();
- node->render_manager()->ResumeResponseDeferredAtStart();
-}
-
void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) {
force_disable_overscroll_content_ = force_disable;
if (view_)
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698