OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_GFX_SCROLLBAR_SIZE_H_ | 5 #ifndef UI_GFX_SCROLLBAR_SIZE_H_ |
6 #define UI_GFX_SCROLLBAR_SIZE_H_ | 6 #define UI_GFX_SCROLLBAR_SIZE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include "ui/ui_api.h" |
| 10 |
9 namespace gfx { | 11 namespace gfx { |
10 | 12 |
11 // This should return the thickness, in pixels, of a scrollbar in web content. | 13 // This should return the thickness, in pixels, of a scrollbar in web content. |
12 // This needs to match the values in WebCore's | 14 // This needs to match the values in WebCore's |
13 // ScrollbarThemeChromiumXXX.cpp::scrollbarThickness(). | 15 // ScrollbarThemeChromiumXXX.cpp::scrollbarThickness(). |
14 int scrollbar_size(); | 16 UI_API int scrollbar_size(); |
15 | 17 |
16 } // namespace gfx | 18 } // namespace gfx |
17 | 19 |
18 #endif // UI_GFX_SCROLLBAR_SIZE_H_ | 20 #endif // UI_GFX_SCROLLBAR_SIZE_H_ |
OLD | NEW |