| Index: chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchUma.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchUma.java b/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchUma.java
|
| index 573e7d1ceab2af2cc1e09214c17e31fb2fcf5ebf..5636016729eebbb7e55b191e0ada614bafe7036c 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchUma.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchUma.java
|
| @@ -880,6 +880,24 @@ public class ContextualSearchUma {
|
| }
|
|
|
| /**
|
| + * Log whether results were seen due to a Tap with broad signals.
|
| + * @param wasSearchContentViewSeen If the panel was opened.
|
| + * @param isSecondTap Whether this was the second tap after an initial suppressed tap.
|
| + */
|
| + public static void logTapSuppressionResultsSeen(
|
| + boolean wasSearchContentViewSeen, boolean isSecondTap) {
|
| + if (isSecondTap) {
|
| + RecordHistogram.recordEnumeratedHistogram("Search.ContextualSearchSecondTapSeen",
|
| + wasSearchContentViewSeen ? RESULTS_SEEN : RESULTS_NOT_SEEN,
|
| + RESULTS_SEEN_BOUNDARY);
|
| + } else {
|
| + RecordHistogram.recordEnumeratedHistogram("Search.ContextualSearchTapSuppressionSeen",
|
| + wasSearchContentViewSeen ? RESULTS_SEEN : RESULTS_NOT_SEEN,
|
| + RESULTS_SEEN_BOUNDARY);
|
| + }
|
| + }
|
| +
|
| + /**
|
| * Logs whether search results were seen, whether the search provider icon sprite was animated
|
| * when the panel first appeared, and the triggering gesture.
|
| * @param wasIconSpriteAnimated Whether the search provider icon sprite was animated when the
|
|
|