summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/web_contents.cc')
-rw-r--r--chrome/browser/web_contents.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/web_contents.cc b/chrome/browser/web_contents.cc
index 9108c7d..d9d7f1c 100644
--- a/chrome/browser/web_contents.cc
+++ b/chrome/browser/web_contents.cc
@@ -314,6 +314,14 @@ void WebContents::SizeContents(const gfx::Size& size) {
RepositionSupressedPopupsToFit(size);
}
+void WebContents::FirePageBeforeUnload() {
+ render_view_host()->FirePageBeforeUnload();
+}
+
+void WebContents::FirePageUnload() {
+ render_view_host()->FirePageUnload();
+}
+
void WebContents::Destroy() {
// Tell the notification service we no longer want notifications.
NotificationService::current()->