Chromium Code Reviews| 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, |