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

Unified Diff: chrome/browser/browser_unittest.cc

Issue 2807016: Make pinned tabs a little stickier. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: review comments Created 10 years, 6 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
« no previous file with comments | « chrome/browser/browser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_unittest.cc
diff --git a/chrome/browser/browser_unittest.cc b/chrome/browser/browser_unittest.cc
index ad179ceafcd3a9f883077e30b2a2a6e832ddf320..e6a530e68a8b8a930247368d6ed35a7e434e61f1 100644
--- a/chrome/browser/browser_unittest.cc
+++ b/chrome/browser/browser_unittest.cc
@@ -29,6 +29,13 @@ const struct NavigationScenario {
PageTransition::AUTO_BOOKMARK,
CURRENT_TAB,
NEW_FOREGROUND_TAB },
+ // Also works with TYPED.
+ { true,
+ "http://www.example.com",
+ "http://www.google.com",
+ PageTransition::TYPED,
+ CURRENT_TAB,
+ NEW_FOREGROUND_TAB },
// Also happens if the schemes differ.
{ true,
"ftp://www.example.com",
@@ -61,7 +68,7 @@ const struct NavigationScenario {
{ true,
"http://www.example.com",
"http://www.google.com",
- PageTransition::TYPED,
+ PageTransition::RELOAD,
CURRENT_TAB,
CURRENT_TAB },
// Same domain and scheme - no change.
« no previous file with comments | « chrome/browser/browser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698