Skip to content

Commit b5049e5

Browse files
committed
1 parent 5359e0a commit b5049e5

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

CefSharp/Enums/TransitionType.cs

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ public enum TransitionType : uint
2424
/// </summary>
2525
Explicit = 1,
2626

27+
/// <summary>
28+
/// User got to this page through a suggestion in the UI (for example, via the
29+
/// destinations page). Chrome runtime only.
30+
/// </summary>
31+
AutoBookmark = 2,
32+
2733
/// <summary>
2834
/// Source is a subframe navigation. This is any content that is automatically
2935
/// loaded in a non-toplevel frame. For example, if a page consists of several
@@ -42,6 +48,25 @@ public enum TransitionType : uint
4248
/// </summary>
4349
ManualSubFrame = 4,
4450

51+
/// <summary>
52+
/// User got to this page by typing in the URL bar and selecting an entry
53+
/// that did not look like a URL. For example, a match might have the URL
54+
/// of a Google search result page, but appear like &quot;Search Google for ...&quot;.
55+
/// These are not quite the same as EXPLICIT navigations because the user
56+
/// didn&apos;t type or see the destination URL. Chrome runtime only.
57+
/// See also TT_KEYWORD.
58+
/// </summary>
59+
Generated = 5,
60+
61+
/// <summary>
62+
/// This is a toplevel navigation. This is any content that is automatically
63+
/// loaded in a toplevel frame. For example, opening a tab to show the ASH
64+
/// screen saver, opening the devtools window, opening the NTP after the safe
65+
/// browsing warning, opening web-based dialog boxes are examples of
66+
/// AUTO_TOPLEVEL navigations. Chrome runtime only.
67+
/// </summary>
68+
AutoToplevel = 6,
69+
4570
/// <summary>
4671
/// Source is a form submission by the user. NOTE: In some situations
4772
/// submitting a form does not result in this transition type. This can happen
@@ -56,6 +81,25 @@ public enum TransitionType : uint
5681
/// </summary>
5782
Reload = 8,
5883

84+
/// <summary>
85+
/// The url was generated from a replaceable keyword other than the default
86+
/// search provider. If the user types a keyword (which also applies to
87+
/// tab-to-search) in the omnibox this qualifier is applied to the transition
88+
/// type of the generated url. TemplateURLModel then may generate an
89+
/// additional visit with a transition type of TT_KEYWORD_GENERATED against the
90+
/// url &apos;http://&apos; + keyword. For example, if you do a tab-to-search against
91+
/// wikipedia the generated url has a transition qualifer of TT_KEYWORD, and
92+
/// TemplateURLModel generates a visit for &apos;wikipedia.org&apos; with a transition
93+
/// type of TT_KEYWORD_GENERATED. Chrome runtime only.
94+
/// </summary>
95+
Keyword = 9,
96+
97+
/// <summary>
98+
/// Corresponds to a visit generated for a keyword. See description of
99+
/// TT_KEYWORD for more details. Chrome runtime only.
100+
/// </summary>
101+
KeywordGenerated = 10,
102+
59103
/// <summary>
60104
/// General mask defining the bits used for the source values.
61105
/// </summary>
@@ -77,6 +121,18 @@ public enum TransitionType : uint
77121
/// </summary>
78122
DirectLoad = 0x02000000,
79123

124+
/// <summary>
125+
/// User is navigating to the home page. Chrome runtime only.
126+
/// </summary>
127+
HomePage = 0x04000000,
128+
129+
/// <summary>
130+
/// The transition originated from an external application; the exact
131+
/// definition of this is embedder dependent. Chrome runtime and
132+
/// extension system only.
133+
/// </summary>
134+
FromApi = 0x08000000,
135+
80136
/// <summary>
81137
/// The beginning of a navigation chain.
82138
/// </summary>

0 commit comments

Comments
 (0)