1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ash / quick_insert / views / quick_insert_focus_indicator.h [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_QUICK_INSERT_VIEWS_QUICK_INSERT_FOCUS_INDICATOR_H_
#define ASH_QUICK_INSERT_VIEWS_QUICK_INSERT_FOCUS_INDICATOR_H_
#include "third_party/skia/include/core/SkColor.h"
namespace gfx {
class Canvas;
class Point;
} // namespace gfx
namespace ash {
// Paints a focus indicator onto `canvas`. The painted indicator looks like a
// vertical bar with half-rounded edges.
void PaintQuickInsertFocusIndicator(gfx::Canvas* canvas,
const gfx::Point& origin,
int height,
SkColor color);
} // namespace ash
#endif // ASH_QUICK_INSERT_VIEWS_QUICK_INSERT_FOCUS_INDICATOR_H_