| 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
|
|
|