scrollbar_size.h 559 B

12345678910111213141516171819
  1. // Copyright (c) 2011 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. #ifndef UI_GFX_SCROLLBAR_SIZE_H_
  5. #define UI_GFX_SCROLLBAR_SIZE_H_
  6. #include "ui/gfx/gfx_export.h"
  7. namespace gfx {
  8. // This should return the thickness, in pixels, of a scrollbar in web content.
  9. // This needs to match the values in WebCore's
  10. // ScrollbarThemeChromiumXXX.cpp::scrollbarThickness().
  11. GFX_EXPORT int scrollbar_size();
  12. } // namespace gfx
  13. #endif // UI_GFX_SCROLLBAR_SIZE_H_