diff options
Diffstat (limited to 'gfx/scrollbar_size.h')
-rw-r--r-- | gfx/scrollbar_size.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gfx/scrollbar_size.h b/gfx/scrollbar_size.h new file mode 100644 index 0000000..364d929 --- /dev/null +++ b/gfx/scrollbar_size.h @@ -0,0 +1,17 @@ +// Copyright (c) 2009 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 GFX_SCROLLBAR_SIZE_H_ +#define GFX_SCROLLBAR_SIZE_H_ + +namespace gfx { + +// This should return the thickness, in pixels, of a scrollbar in web content. +// This needs to match the values in WebCore's +// ScrollbarThemeChromiumXXX.cpp::scrollbarThickness(). +int scrollbar_size(); + +} // namespace gfx + +#endif // GFX_SCROLLBAR_SIZE_H_ |