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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 232463007: Don't leave aborted URLs in the omnibox unless we're on a new tab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix and add tests. Created 6 years, 8 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/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 093a649e54646d906e68bd394516bb90be3ca063..6cfa81abf44657933a4b798fabf33f57f0ef515c 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -489,6 +489,7 @@ class CONTENT_EXPORT WebContentsImpl
NavigationController::ReloadType reload_type) OVERRIDE;
virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
const OpenURLParams& params) OVERRIDE;
+ virtual bool ShouldPreserveAbortedURLs() OVERRIDE;
// RenderWidgetHostDelegate --------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698