Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(741)

Unified Diff: third_party/WebKit/Source/core/paint/PaintResult.h

Issue 2430313004: Paint collapsed borders of a table as one display item (Closed)
Patch Set: - Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/PaintResult.h
diff --git a/third_party/WebKit/Source/core/paint/PaintResult.h b/third_party/WebKit/Source/core/paint/PaintResult.h
new file mode 100644
index 0000000000000000000000000000000000000000..a755ac8af34661a76b52f7eeb948ba9613ae50dd
--- /dev/null
+++ b/third_party/WebKit/Source/core/paint/PaintResult.h
@@ -0,0 +1,25 @@
+// Copyright 2016 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 PaintResult_h
+#define PaintResult_h
+
+namespace blink {
+
+// Used as the return type of some paint methods.
+enum PaintResult {
+ // The layer/object is fully painted. This includes cases that nothing needs
+ // painting regardless of the paint rect.
+ FullyPainted,
+ // Some part of the layer/object is out of the paint rect and may be not fully
+ // painted. The results cannot be cached because they may change when paint
+ // rect changes.
+ MayBeClippedByPaintDirtyRect,
+
+ MaxPaintResult = MayBeClippedByPaintDirtyRect,
+};
+
+} // namespace blink
+
+#endif // PaintResult.h

Powered by Google App Engine
This is Rietveld 408576698