summaryrefslogtreecommitdiffstats
path: root/gfx/scrollbar_size.h
blob: 9b4a9c427b5a771cbf6f0eeac6b87b290855e3d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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_
#pragma once

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_