summaryrefslogtreecommitdiff
path: root/Source/WebCore/page/LayoutMilestones.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/page/LayoutMilestones.h')
-rw-r--r--Source/WebCore/page/LayoutMilestones.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/Source/WebCore/page/LayoutMilestones.h b/Source/WebCore/page/LayoutMilestones.h
index 7007434bf..1785b33a9 100644
--- a/Source/WebCore/page/LayoutMilestones.h
+++ b/Source/WebCore/page/LayoutMilestones.h
@@ -23,8 +23,7 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef LayoutMilestones_h
-#define LayoutMilestones_h
+#pragma once
namespace WebCore {
@@ -32,16 +31,15 @@ namespace WebCore {
// We should either re-name them to something more generic, or split them into
// two enums -- one for painting and one for layout.
enum LayoutMilestoneFlag {
- DidFirstLayout = 1 << 0,
- DidFirstVisuallyNonEmptyLayout = 1 << 1,
- DidHitRelevantRepaintedObjectsAreaThreshold = 1 << 2,
- DidFirstFlushForHeaderLayer = 1 << 3,
- DidFirstLayoutAfterSuppressedIncrementalRendering = 1 << 4,
- DidFirstPaintAfterSuppressedIncrementalRendering = 1 << 5
+ DidFirstLayout = 1 << 0,
+ DidFirstVisuallyNonEmptyLayout = 1 << 1,
+ DidHitRelevantRepaintedObjectsAreaThreshold = 1 << 2,
+ DidFirstFlushForHeaderLayer = 1 << 3,
+ DidFirstLayoutAfterSuppressedIncrementalRendering = 1 << 4,
+ DidFirstPaintAfterSuppressedIncrementalRendering = 1 << 5,
+ ReachedSessionRestorationRenderTreeSizeThreshold = 1 << 6 // FIXME: only implemented by WK2 currently.
};
typedef unsigned LayoutMilestones;
} // namespace WebCore
-
-#endif // LayoutMilestones_h