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

Unified Diff: content/browser/tab_contents/page_navigator.cc

Issue 8224023: Don't show URL for pending new navigations initiated by the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflicts. Created 9 years, 2 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/tab_contents/page_navigator.cc
diff --git a/content/browser/tab_contents/page_navigator.cc b/content/browser/tab_contents/page_navigator.cc
index 5e94f74422df3d9b0e6e92c6e4490e91c3981912..1898fb7beaa2778c1937d378457e017bf75b5396 100644
--- a/content/browser/tab_contents/page_navigator.cc
+++ b/content/browser/tab_contents/page_navigator.cc
@@ -13,16 +13,19 @@ OpenURLParams::OpenURLParams(
const GURL& url,
const GURL& referrer,
WindowOpenDisposition disposition,
- content::PageTransition transition)
+ content::PageTransition transition,
+ bool is_renderer_initiated)
: url(url),
referrer(referrer),
disposition(disposition),
- transition(transition) {
+ transition(transition),
+ is_renderer_initiated(is_renderer_initiated) {
}
OpenURLParams::OpenURLParams()
: disposition(UNKNOWN),
- transition(content::PageTransitionFromInt(0)) {
+ transition(content::PageTransitionFromInt(0)),
+ is_renderer_initiated(false) {
}
OpenURLParams::~OpenURLParams() {
« no previous file with comments | « content/browser/tab_contents/page_navigator.h ('k') | content/browser/tab_contents/render_view_host_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698