Index: content/browser/web_contents/web_contents_impl.cc |
=================================================================== |
--- content/browser/web_contents/web_contents_impl.cc (revision 138434) |
+++ content/browser/web_contents/web_contents_impl.cc (working copy) |
@@ -1306,6 +1306,10 @@ |
return new_tab_start_time_; |
} |
+void WebContentsImpl::Close() { |
+ Close(GetRenderViewHost()); |
+} |
+ |
void WebContentsImpl::OnCloseStarted() { |
if (close_start_time_.is_null()) |
close_start_time_ = base::TimeTicks::Now(); |
@@ -1330,6 +1334,10 @@ |
delegate_->DragEnded(); |
} |
+void WebContentsImpl::UserGestureDone() { |
+ OnUserGesture(); |
+} |
+ |
void WebContentsImpl::SetClosedByUserGesture(bool value) { |
closed_by_user_gesture_ = value; |
} |