Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 540e482ac84d1b24d1a5c6210eb366f54ce1d12c..7ec8f66b8fd6ace8796d475840b75744ac7fbe17 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -17773,6 +17773,34 @@ other types of suffix sets. |
</summary> |
</histogram> |
+<histogram name="Search.ContextualSearchOptCard" |
+ enum="ContextualSearchOptCardAction"> |
+ <summary>The type of action taken in the Opt-in card.</summary> |
+</histogram> |
+ |
+<histogram name="Search.ContextualSearchOptPeekCard" |
+ enum="ContextualSearchPeekCardAction"> |
+ <summary>The type of action taken when the Opt-in card is peeking.</summary> |
+</histogram> |
+ |
+<histogram name="Search.ContextualSearchPeekCard" |
+ enum="ContextualSearchPeekCardAction"> |
+ <summary>The type of action taken when the Search card is peeking.</summary> |
+</histogram> |
+ |
+<histogram name="Search.ContextualSearchTap" enum="ContextualSearchTapAction"> |
+ <summary>The type of tap action taken by opted-in users.</summary> |
+</histogram> |
+ |
+<histogram name="Search.ContextualSearchTapUndecided" |
+ enum="ContextualSearchTapAction"> |
+ <summary>The type of tap action taken by undecided users.</summary> |
+</histogram> |
+ |
+<histogram name="Search.ContextualSearchTimeToSearch" units="milliseconds"> |
+ <summary>The time between tapping on a word and performing a search.</summary> |
+</histogram> |
+ |
<histogram name="Search.DefaultSearchProvider" enum="OmniboxSearchEngine"> |
<summary> |
The id of the default search engine that is loaded after Chrome startup. See |
@@ -23601,6 +23629,28 @@ other types of suffix sets. |
<int value="4" label="TEST_NOT_RUN"/> |
</enum> |
+<enum name="ContextualSearchOptCardAction" type="int"> |
+ <int value="0" label="Opt-in"/> |
+ <int value="1" label="Opt-out"/> |
+ <int value="2" label="Learn More"/> |
+ <int value="3" label="Dismiss by Tapping on the Page"/> |
+ <int value="4" label="Dismiss by Scrolling the Page"/> |
+ <int value="5" label="Dismiss by Leaving the Page"/> |
+</enum> |
+ |
+<enum name="ContextualSearchPeekCardAction" type="int"> |
+ <int value="0" label="Tap Card"/> |
+ <int value="1" label="Dismiss by Tapping on the Page"/> |
+ <int value="2" label="Dismiss by Scrolling the Page"/> |
+ <int value="3" label="Dismiss by Leaving the Page"/> |
+</enum> |
+ |
+<enum name="ContextualSearchTapAction" type="int"> |
+ <int value="0" label="Tap Word"/> |
+ <int value="1" label="Tap Ignored"/> |
+ <int value="2" label="Tap Invalid"/> |
+</enum> |
+ |
<enum name="CookieDeletionCause" type="int"> |
<summary>Reason why a cookie was removed from the cookie store</summary> |
<int value="0" label="explicit"> |
@@ -33100,6 +33150,18 @@ other types of suffix sets. |
<affected-histogram name="PLT.LoadType"/> |
</fieldtrial> |
+<fieldtrial name="ContextualSearch"> |
+ <group name="Control"/> |
+ <group name="Tap"/> |
+ <group name="TapForced"/> |
+ <affected-histogram name="Search.ContextualSearchOptCard"/> |
+ <affected-histogram name="Search.ContextualSearchOptPeekCard"/> |
+ <affected-histogram name="Search.ContextualSearchPeekCard"/> |
+ <affected-histogram name="Search.ContextualSearchTap"/> |
+ <affected-histogram name="Search.ContextualSearchTapUndecided"/> |
+ <affected-histogram name="Search.ContextualSearchTimeToSearch"/> |
+</fieldtrial> |
+ |
<fieldtrial name="CrosFirstRunStep" separator=""> |
<group name="AppList"/> |
<group name="Tray"/> |