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

Unified Diff: ui/base/page_transition_types.cc

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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 | « ui/base/page_transition_types.h ('k') | ui/base/page_transition_types_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/page_transition_types.cc
diff --git a/content/public/common/page_transition_types.cc b/ui/base/page_transition_types.cc
similarity index 94%
rename from content/public/common/page_transition_types.cc
rename to ui/base/page_transition_types.cc
index bf95ea045c004dd89234fe3c91f983e8b43e5cca..0bd86f613e3a2698145d01225183cd4c6f7b8ec0 100644
--- a/content/public/common/page_transition_types.cc
+++ b/ui/base/page_transition_types.cc
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/public/common/page_transition_types.h"
+#include "ui/base/page_transition_types.h"
#include "base/logging.h"
-namespace content {
+namespace ui {
bool PageTransitionCoreTypeIs(PageTransition lhs,
PageTransition rhs) {
@@ -49,7 +49,7 @@ bool PageTransitionIsRedirect(PageTransition type) {
bool PageTransitionIsNewNavigation(PageTransition type) {
return (type & PAGE_TRANSITION_FORWARD_BACK) == 0 &&
- !PageTransitionCoreTypeIs(type, content::PAGE_TRANSITION_RELOAD);
+ !PageTransitionCoreTypeIs(type, PAGE_TRANSITION_RELOAD);
}
int32 PageTransitionGetQualifier(PageTransition type) {
@@ -86,4 +86,4 @@ const char* PageTransitionGetCoreTransitionString(PageTransition type) {
return NULL;
}
-} // namespace content
+} // namespace ui
« no previous file with comments | « ui/base/page_transition_types.h ('k') | ui/base/page_transition_types_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698