blob: 040adecaa331d0d33dd7b8972d383601fca0727c [file] [log] [blame]
[email protected]2629d65a2009-12-09 19:41:411// 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
3// found in the LICENSE file.
4
[email protected]08397d52011-02-05 01:53:385#include "ui/gfx/scrollbar_size.h"
[email protected]2629d65a2009-12-09 19:41:416
7#include "base/compiler_specific.h"
avic89eb8d42015-12-23 08:08:188#include "build/build_config.h"
[email protected]2629d65a2009-12-09 19:41:419
10#if defined(OS_WIN)
11#include <windows.h>
12#endif
13
14namespace gfx {
15
16int scrollbar_size() {
17#if defined(OS_WIN)
18 return GetSystemMetrics(SM_CXVSCROLL);
19#else
20 return 15;
21#endif
22}
23
24} // namespace gfx