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

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

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.h
diff --git a/content/browser/tab_contents/page_navigator.h b/content/browser/tab_contents/page_navigator.h
index 5a7877cf9a98017de7fefcfafb2308c39cdca381..9369a7aff70d96e0ca5f0e014cfb96b606bf2f76 100644
--- a/content/browser/tab_contents/page_navigator.h
+++ b/content/browser/tab_contents/page_navigator.h
@@ -23,7 +23,8 @@ struct CONTENT_EXPORT OpenURLParams {
OpenURLParams(const GURL& url,
const GURL& referrer,
WindowOpenDisposition disposition,
- content::PageTransition transition);
+ content::PageTransition transition,
+ bool is_renderer_initiated);
~OpenURLParams();
class TabContents;
@@ -37,6 +38,9 @@ class TabContents;
// The transition type of navigation.
content::PageTransition transition;
+ // Whether this navigation is initiated by the renderer process.
+ bool is_renderer_initiated;
+
// The override encoding of the URL contents to be opened.
std::string override_encoding;
« no previous file with comments | « content/browser/tab_contents/navigation_entry_unittest.cc ('k') | content/browser/tab_contents/page_navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698