TransitionType Enumeration |
Version 130.1.90
Transition type for a request. Made up of one source value and 0 or more qualifiers.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax [FlagsAttribute]
public enum TransitionType
[FlagsAttribute]
public enum class TransitionType
Members Member name | Value | Description |
---|
LinkClicked | 0 |
Source is a link click or the JavaScript window.open function. This is
also the default value for requests like sub-resource loads that are not navigations.
|
Explicit | 1 |
Source is some other "explicit" navigation. This is the default value for
navigations where the actual type is unknown. See also DirectLoad.
|
AutoBookmark | 2 |
User got to this page through a suggestion in the UI (for example, via the
destinations page). Chrome runtime only.
|
AutoSubFrame | 3 |
Source is a subframe navigation. This is any content that is automatically
loaded in a non-toplevel frame. For example, if a page consists of several
frames containing ads, those ad URLs will have this transition type.
The user may not even realize the content in these pages is a separate
frame, so may not care about the URL.
|
ManualSubFrame | 4 |
Source is a subframe navigation explicitly requested by the user that will
generate new navigation entries in the back/forward list. These are
probably more important than frames that were automatically loaded in
the background because the user probably cares about the fact that this
link was loaded.
|
Generated | 5 |
User got to this page by typing in the URL bar and selecting an entry
that did not look like a URL. For example, a match might have the URL
of a Google search result page, but appear like "Search Google for ...".
These are not quite the same as EXPLICIT navigations because the user
didn't type or see the destination URL. Chrome runtime only.
See also TT_KEYWORD.
|
AutoToplevel | 6 |
This is a toplevel navigation. This is any content that is automatically
loaded in a toplevel frame. For example, opening a tab to show the ASH
screen saver, opening the devtools window, opening the NTP after the safe
browsing warning, opening web-based dialog boxes are examples of
AUTO_TOPLEVEL navigations. Chrome runtime only.
|
FormSubmit | 7 |
Source is a form submission by the user. NOTE: In some situations
submitting a form does not result in this transition type. This can happen
if the form uses a script to submit the contents.
|
Reload | 8 |
Source is a "reload" of the page via the Reload function or by re-visiting
the same URL. NOTE: This is distinct from the concept of whether a
particular load uses "reload semantics" (i.e. bypasses cached data).
|
Keyword | 9 |
The url was generated from a replaceable keyword other than the default
search provider. If the user types a keyword (which also applies to
tab-to-search) in the omnibox this qualifier is applied to the transition
type of the generated url. TemplateURLModel then may generate an
additional visit with a transition type of TT_KEYWORD_GENERATED against the
url 'http://' + keyword. For example, if you do a tab-to-search against
wikipedia the generated url has a transition qualifer of TT_KEYWORD, and
TemplateURLModel generates a visit for 'wikipedia.org' with a transition
type of TT_KEYWORD_GENERATED. Chrome runtime only.
|
KeywordGenerated | 10 |
Corresponds to a visit generated for a keyword. See description of
TT_KEYWORD for more details. Chrome runtime only.
|
SourceMask | 255 |
General mask defining the bits used for the source values.
|
Blocked | 8,388,608 |
Attempted to visit a URL but was blocked.
|
ForwardBack | 16,777,216 |
Used the Forward or Back function to navigate among browsing history.
Will be ORed to the transition type for the original load.
|
DirectLoad | 33,554,432 |
Loaded a URL directly via CreateBrowser, LoadURL or LoadRequest.
|
HomePage | 67,108,864 |
User is navigating to the home page. Chrome runtime only.
|
FromApi | 134,217,728 |
The transition originated from an external application; the exact
definition of this is embedder dependent. Chrome runtime and
extension system only.
|
ChainStart | 268,435,456 |
The beginning of a navigation chain.
|
ChainEnd | 536,870,912 |
The last transition in a redirect chain.
|
ClientRedirect | 1,073,741,824 |
Redirects caused by JavaScript or a meta refresh tag on the page.
|
ServerRedirect | 2,147,483,648 |
Redirects sent from the server by HTTP headers.
|
IsRedirect | 3,221,225,472 |
Used to test whether a transition involves a redirect.
|
QualifierMask | 4,294,967,040 |
General mask defining the bits used for the qualifiers.
|
See Also