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

Unified Diff: chrome/browser/tabs/tab_finder.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
« no previous file with comments | « chrome/browser/tabs/pinned_tab_codec.cc ('k') | chrome/browser/tabs/tab_strip_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tabs/tab_finder.cc
===================================================================
--- chrome/browser/tabs/tab_finder.cc (revision 105162)
+++ chrome/browser/tabs/tab_finder.cc (working copy)
@@ -21,8 +21,8 @@
#include "content/common/content_notification_types.h"
#include "content/common/notification_service.h"
#include "content/common/notification_source.h"
-#include "content/common/page_transition_types.h"
#include "content/common/view_messages.h"
+#include "content/public/common/page_transition_types.h"
class TabFinder::TabContentsObserverImpl : public TabContentsObserver {
public:
@@ -136,7 +136,7 @@
const ViewHostMsg_FrameNavigate_Params& params) {
CancelRequestsFor(source);
- if (PageTransition::IsRedirect(params.transition)) {
+ if (content::PageTransitionIsRedirect(params.transition)) {
// If this is a redirect, we need to go to the db to get the start.
FetchRedirectStart(source);
} else if (params.redirects.size() > 1 ||
« no previous file with comments | « chrome/browser/tabs/pinned_tab_codec.cc ('k') | chrome/browser/tabs/tab_strip_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698