blob: f90413108571a03f6313e36eef64f5b52405d06f (
plain)
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
27
28
29
|
// Copyright (c) 2012 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 UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_ROW_BACKGROUND_PAINTER_H_
#define UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_ROW_BACKGROUND_PAINTER_H_
#include "ui/views/views_export.h"
namespace gfx {
class Canvas;
class Rect;
}
namespace views {
// TableViewRowBackgroundPainter is used to paint the background of a row in the
// table.
class VIEWS_EXPORT TableViewRowBackgroundPainter {
public:
virtual ~TableViewRowBackgroundPainter() {}
virtual void PaintRowBackground(int model_index,
const gfx::Rect& row_bounds,
gfx::Canvas* canvas) = 0;
};
}
#endif // UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_ROW_BACKGROUND_PAINTER_H_
|