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

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

Issue 11416187: Commit instant loader when the instant page navigates away from instant URL. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merging in sreeram's changes. Created 8 years 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
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index a037efb70a67e021af4dd95794684f557affd038..3b36bf22e8625edaae31c7c92c642b2b332a2fc5 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -100,6 +100,8 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
WindowOpenDisposition disposition,
PageTransition transition) {}
+ virtual void AboutToOpenURL(const GURL& url) {}
sky 2012/12/06 22:37:29 Add description.
Shishir 2012/12/06 23:20:30 Not sure how useful it is, but added.
+
virtual void DidOpenRequestedURL(WebContents* new_contents,
const GURL& url,
const Referrer& referrer,
« chrome/browser/instant/instant_client.cc ('K') | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698