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

Unified Diff: chrome/browser/ui/browser_navigator.h

Issue 7701015: Making BrowserNavigator open file browser singleton tab respecting URLs ref value (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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: chrome/browser/ui/browser_navigator.h
diff --git a/chrome/browser/ui/browser_navigator.h b/chrome/browser/ui/browser_navigator.h
index 78539e32bce339d97ba520a98ce8bc8ed0596150..8f40017d7f73218d8a851746fe17f18050b62db7 100644
--- a/chrome/browser/ui/browser_navigator.h
+++ b/chrome/browser/ui/browser_navigator.h
@@ -149,6 +149,16 @@ struct NavigateParams {
// Default is RESPECT.
PathBehavior path_behavior;
+ // What to do with the ref component of the URL for singleton navigations.
+ enum RefBehavior {
+ // Two URLs with differing refs are same.
+ IGNORE_REF,
+ // Two URLs with differing refs are different.
+ RESPECT_REF,
+ };
+ // Default is IGNORE.
+ RefBehavior ref_behavior;
Greg Billock 2011/08/23 23:38:48 Should this be called 'fragment'? I suppose in the
tbarzic 2011/08/24 00:02:58 hm.. fragment seem a bit better name, but I notice
+
// [in] Specifies a Browser object where the navigation could occur or the
// tab could be added. Navigate() is not obliged to use this Browser if
// it is not compatible with the operation being performed. If NULL,

Powered by Google App Engine
This is Rietveld 408576698