1 // Copyright 2019 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 5 #ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_SCROLL_TYPES_H_ 6 #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_SCROLL_TYPES_H_ 7 8 namespace blink { 9 10 // Platform overlay scrollbars are controlled and painted by the operating 11 // system (e.g., OSX and Android). CSS overlay scrollbars are created by 12 // setting overflow:overlay, and they are painted by chromium. 13 enum OverlayScrollbarClipBehavior { 14 kIgnorePlatformOverlayScrollbarSize, 15 kIgnorePlatformAndCSSOverlayScrollbarSize, 16 kExcludeOverlayScrollbarSizeForHitTesting 17 }; 18 19 } // namespace blink 20 21 #endif 22