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

Unified Diff: chrome/browser/tabs/tab_strip_model_order_controller.cc

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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: chrome/browser/tabs/tab_strip_model_order_controller.cc
===================================================================
--- chrome/browser/tabs/tab_strip_model_order_controller.cc (revision 105162)
+++ chrome/browser/tabs/tab_strip_model_order_controller.cc (working copy)
@@ -22,7 +22,7 @@
int TabStripModelOrderController::DetermineInsertionIndex(
TabContentsWrapper* new_contents,
- PageTransition::Type transition,
+ content::PageTransition transition,
bool foreground) {
int tab_count = tabstrip_->count();
if (!tab_count)
@@ -30,7 +30,8 @@
// NOTE: TabStripModel enforces that all non-mini-tabs occur after mini-tabs,
// so we don't have to check here too.
- if (transition == PageTransition::LINK && tabstrip_->active_index() != -1) {
+ if (transition == content::PAGE_TRANSITION_LINK &&
+ tabstrip_->active_index() != -1) {
int delta = (insertion_policy_ == TabStripModel::INSERT_AFTER) ? 1 : 0;
if (foreground) {
// If the page was opened in the foreground by a link click in another
« no previous file with comments | « chrome/browser/tabs/tab_strip_model_order_controller.h ('k') | chrome/browser/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698