// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "ios/chrome/browser/reader_mode/model/constants.h"

#import "ios/chrome/browser/shared/ui/symbols/symbols.h"

const char kReaderModeStateHistogram[] = "IOS.ReaderMode.State";

const char kReaderModeDeactivationReasonHistogram[] =
    "IOS.ReaderMode.DeactivationReason";

const char kReaderModeTranslationStateHistogram[] =
    "IOS.ReaderMode.TranslationState";

const char kReaderModeHeuristicResultHistogram[] =
    "IOS.ReaderMode.Heuristic.Result";

const char kReaderModeHeuristicLatencyHistogram[] =
    "IOS.ReaderMode.Heuristic.Latency";

const char kReaderModeDistillerLatencyHistogram[] =
    "IOS.ReaderMode.Distiller.Latency";

const char kReaderModeDistillerResultHistogram[] =
    "IOS.ReaderMode.Distiller.Result";

const char kReaderModeDataLoadLatencyHistogram[] =
    "IOS.ReaderMode.LoadData.Latency";

const char kReaderModeThemeCustomizationHistogram[] = "IOS.ReaderMode.Theme";

const char kReaderModeFontFamilyCustomizationHistogram[] =
    "IOS.ReaderMode.FontFamily";

const char kReaderModeFontScaleCustomizationHistogram[] =
    "IOS.ReaderMode.FontScale";

const char kReaderModeLinksEnabledHistogram[] = "IOS.ReaderMode.LinksEnabled";

const char kReaderModeCustomizationHistogram[] = "IOS.ReaderMode.Customization";

const char kReaderModeTimeSpentHistogram[] = "IOS.ReaderMode.TimeSpent";

const char kReaderModeAccessPointHistogram[] = "IOS.ReaderMode.AccessPoint";

const char kReaderModeAccessPointWithModeHistogram[] =
    "IOS.ReaderMode.AccessPointWithMode";

const char kReaderModeRecentlyUsedTimestampsPref[] =
    "reader_mode.recently_used_timestamps";

std::vector<double> ReaderModeFontScaleMultipliers() {
  return {0.5, 0.75, 1.0, 1.25, 1.5, 2.0};
}
