Avi Drissman | 3e1a26c | 2022-09-15 20:26:03 | [diff] [blame] | 1 | // Copyright 2011 The Chromium Authors |
[email protected] | 267c03d | 2011-02-02 23:03:07 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef UI_GFX_SCROLLBAR_SIZE_H_ | ||||
6 | #define UI_GFX_SCROLLBAR_SIZE_H_ | ||||
[email protected] | 267c03d | 2011-02-02 23:03:07 | [diff] [blame] | 7 | |
Kalvin Lee | 7d17d557 | 2024-11-10 13:52:45 | [diff] [blame] | 8 | #include "base/component_export.h" |
[email protected] | ea47b6a | 2011-07-17 19:39:42 | [diff] [blame] | 9 | |
[email protected] | 267c03d | 2011-02-02 23:03:07 | [diff] [blame] | 10 | namespace gfx { |
11 | |||||
12 | // This should return the thickness, in pixels, of a scrollbar in web content. | ||||
13 | // This needs to match the values in WebCore's | ||||
14 | // ScrollbarThemeChromiumXXX.cpp::scrollbarThickness(). | ||||
Kalvin Lee | 7d17d557 | 2024-11-10 13:52:45 | [diff] [blame] | 15 | COMPONENT_EXPORT(GFX) int scrollbar_size(); |
[email protected] | 267c03d | 2011-02-02 23:03:07 | [diff] [blame] | 16 | |
17 | } // namespace gfx | ||||
18 | |||||
19 | #endif // UI_GFX_SCROLLBAR_SIZE_H_ |