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

Unified Diff: content/public/browser/web_contents_observer.h

Issue 17151010: Move histograms and supporting code that don't belong in content out. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix Created 7 years, 6 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: content/public/browser/web_contents_observer.h
===================================================================
--- content/public/browser/web_contents_observer.h (revision 207139)
+++ content/public/browser/web_contents_observer.h (working copy)
@@ -259,6 +259,12 @@
// Invoked before a form repost warning is shown.
virtual void BeforeFormRepostWarningShow() {}
+ // Invoked when the before unload fires. The time is from the renderer.
+ virtual void BeforeUnloadFired(const base::TimeTicks& proceed_time) {}
+
+ // Invoked when a user cancels a before unload dialog.
+ virtual void BeforeUnloadDialogCancelled() {}
+
// IPC::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
« content/browser/web_contents/web_contents_impl.cc ('K') | « content/public/browser/web_contents.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698