| 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 f154585b299daa0eb03641e17ba460ee0c16b5bf..9152079645944aced6adb06dfde8434d8861ce62 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -95,6 +95,7 @@
|
| #include "webkit/common/webpreferences.h"
|
|
|
| #if defined(OS_ANDROID)
|
| +#include "content/browser/android/content_view_core_impl.h"
|
| #include "content/browser/android/date_time_chooser_android.h"
|
| #include "content/browser/media/android/browser_media_player_manager.h"
|
| #include "content/browser/web_contents/web_contents_android.h"
|
| @@ -3477,6 +3478,21 @@ void WebContentsImpl::SwappedOut(RenderFrameHost* rfh) {
|
| delegate_->SwappedOut(this);
|
| }
|
|
|
| +void WebContentsImpl::DidDeferAfterResponseStarted() {
|
| +#if defined(OS_ANDROID)
|
| + ContentViewCoreImpl::FromWebContents(this)->DidDeferAfterResponseStarted();
|
| +#endif
|
| +}
|
| +
|
| +bool WebContentsImpl::WillHandleDeferAfterResponseStarted() {
|
| +#if defined(OS_ANDROID)
|
| + return ContentViewCoreImpl::FromWebContents(this)->
|
| + WillHandleDeferAfterResponseStarted();
|
| +#else
|
| + return false;
|
| +#endif
|
| +}
|
| +
|
| void WebContentsImpl::RequestMove(const gfx::Rect& new_bounds) {
|
| if (delegate_ && delegate_->IsPopupOrPanel(this))
|
| delegate_->MoveContents(this, new_bounds);
|
| @@ -4081,4 +4097,9 @@ void WebContentsImpl::OnPreferredSizeChanged(const gfx::Size& old_size) {
|
| delegate_->UpdatePreferredSize(this, new_size);
|
| }
|
|
|
| +void WebContentsImpl::ResumeResponseDeferredAtStart() {
|
| + FrameTreeNode* node = frame_tree_.root();
|
| + node->render_manager()->ResumeResponseDeferredAtStart();
|
| +}
|
| +
|
| } // namespace content
|
|
|