1 // Copyright 2014 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 WebInvalidationDebugAnnotations_h 6 #define WebInvalidationDebugAnnotations_h 7 8 #include "public/platform/WebFloatRect.h" 9 10 namespace blink { 11 12 enum WebInvalidationDebugAnnotations { 13 WebInvalidationDebugAnnotationsNone = 0, 14 WebInvalidationDebugAnnotationsFirstPaint = 1 << 0, 15 WebInvalidationDebugAnnotationsScrollbar = 1 << 1, 16 }; 17 18 struct WebAnnotatedInvalidationRect { 19 WebFloatRect rect; 20 WebInvalidationDebugAnnotations annotations; 21 }; 22 23 } // namespace blink 24 25 #endif // WebInvalidationDebugAnnotations_h 26