mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-28 05:58:38 +00:00
30 lines
1.1 KiB
C++
30 lines
1.1 KiB
C++
diff --git a/browser/components/urlbar/UrlbarUtils.sys.mjs b/browser/components/urlbar/UrlbarUtils.sys.mjs
|
|
index 0bc15c02f56dd8f46a21fed02b4e21a741f27f41..40da868f68f21d8411107fb8a95e2d0b74337b51 100644
|
|
--- a/browser/components/urlbar/UrlbarUtils.sys.mjs
|
|
+++ b/browser/components/urlbar/UrlbarUtils.sys.mjs
|
|
@@ -75,6 +75,7 @@ export var UrlbarUtils = {
|
|
RESTRICT_SEARCH_KEYWORD: "restrictSearchKeyword",
|
|
SUGGESTED_INDEX: "suggestedIndex",
|
|
TAIL_SUGGESTION: "tailSuggestion",
|
|
+ ZEN_ACTION: "zenAction",
|
|
}),
|
|
|
|
// Defines provider types.
|
|
@@ -134,6 +135,7 @@ export var UrlbarUtils = {
|
|
OTHER_NETWORK: 6,
|
|
ADDON: 7,
|
|
ACTIONS: 8,
|
|
+ ZEN_ACTIONS: 9,
|
|
}),
|
|
|
|
// Per-result exposure telemetry.
|
|
@@ -553,6 +555,8 @@ export var UrlbarUtils = {
|
|
return this.RESULT_GROUP.HEURISTIC_SEARCH_TIP;
|
|
case "HistoryUrlHeuristic":
|
|
return this.RESULT_GROUP.HEURISTIC_HISTORY_URL;
|
|
+ case "ZenUrlbarProviderGlobalActions":
|
|
+ return this.RESULT_GROUP.ZEN_ACTION;
|
|
default:
|
|
if (result.providerName.startsWith("TestProvider")) {
|
|
return this.RESULT_GROUP.HEURISTIC_TEST;
|