summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/accessibility/caption_util.h
blob: dfce8d600e5f4c22f30b88783112ad8210f62cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_ACCESSIBILITY_CAPTION_UTIL_H_
#define CHROME_BROWSER_ACCESSIBILITY_CAPTION_UTIL_H_

#include "ui/native_theme/caption_style.h"

class PrefService;

namespace captions {

base::Optional<ui::CaptionStyle> GetCaptionStyleFromUserSettings(
    PrefService* prefs,
    bool record_metrics);

}  // namespace captions

#endif  // CHROME_BROWSER_ACCESSIBILITY_CAPTION_UTIL_H_