projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
content
/
public
/
common
/
page_transition_types.cc
diff --git
a/src/content/public/common/page_transition_types.cc
b/src/content/public/common/page_transition_types.cc
index
52a0561
..
bf95ea0
100644
(file)
--- a/
src/content/public/common/page_transition_types.cc
+++ b/
src/content/public/common/page_transition_types.cc
@@
-47,6
+47,11
@@
bool PageTransitionIsRedirect(PageTransition type) {
return (type & PAGE_TRANSITION_IS_REDIRECT_MASK) != 0;
}
return (type & PAGE_TRANSITION_IS_REDIRECT_MASK) != 0;
}
+bool PageTransitionIsNewNavigation(PageTransition type) {
+ return (type & PAGE_TRANSITION_FORWARD_BACK) == 0 &&
+ !PageTransitionCoreTypeIs(type, content::PAGE_TRANSITION_RELOAD);
+}
+
int32 PageTransitionGetQualifier(PageTransition type) {
return type & PAGE_TRANSITION_QUALIFIER_MASK;
}
int32 PageTransitionGetQualifier(PageTransition type) {
return type & PAGE_TRANSITION_QUALIFIER_MASK;
}