[SharedHighlighting] Add feature flag, experiment code and field trial testing config for maxContextWords experiment
Currently the maxContextWords flag is set to 10. We want to run
an experiment and see if there is a better number to use. We will be testing with the following numbers:
- Small: 5
- Normal: 10
- Large: 15
- Extra Large: 20
Bug: 1326260,1326260,1326261
Change-Id: Ia7de330a2ff9467202ac3b5e1df16d76f1066f72
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3651275
Reviewed-by: Tommy Martino <[email protected]>
Reviewed-by: Jeffrey Cohen <[email protected]>
Commit-Queue: Wissem Gamra <[email protected]>
Reviewed-by: David Bokan <[email protected]>
Commit-Queue: Jeffrey Cohen <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1005527}
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index 0fa48525..cc8e0669 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -2918,6 +2918,11 @@
const char kSharedHighlightingRefinedBlocklistDescription[] =
"Narrow the Blocklist for enabling Shared Highlighting.";
+const char kSharedHighlightingRefinedMaxContextWordsName[] =
+ "Shared Highlighting Max Context Words Refinement";
+const char kSharedHighlightingRefinedMaxContextWordsDescription[] =
+ "Experiment with different Max Context Words for Shared Highlighting.";
+
const char kDraw1PredictedPoint12Ms[] = "1 point 12ms ahead.";
const char kDraw2PredictedPoints6Ms[] = "2 points, each 6ms ahead.";
const char kDraw1PredictedPoint6Ms[] = "1 point 6ms ahead.";