summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/WebLoaderClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/WebLoaderClient.h')
-rw-r--r--Source/WebKit2/UIProcess/WebLoaderClient.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/WebKit2/UIProcess/WebLoaderClient.h b/Source/WebKit2/UIProcess/WebLoaderClient.h
index f1291a288..85f107287 100644
--- a/Source/WebKit2/UIProcess/WebLoaderClient.h
+++ b/Source/WebKit2/UIProcess/WebLoaderClient.h
@@ -29,6 +29,7 @@
#include "APIClient.h"
#include "SameDocumentNavigationType.h"
#include "WKPage.h"
+#include <WebCore/LayoutMilestones.h>
#include <wtf/Forward.h>
#include <wtf/RefPtr.h>
#include <wtf/Vector.h>
@@ -80,9 +81,10 @@ public:
void registerIntentServiceForFrame(WebPageProxy*, WebFrameProxy*, WebIntentServiceInfo*, APIObject*);
#endif
- // FIXME: didFirstVisuallyNonEmptyLayoutForFrame and didNewFirstVisuallyNonEmptyLayout should be merged.
- // The only reason for both to exist is to experiment with different heuristics for the time being.
+ // FIXME: didNewFirstVisuallyNonEmptyLayout should be removed. We should consider removing didFirstVisuallyNonEmptyLayoutForFrame
+ // as well. They are both being replaced by didLayout.
void didNewFirstVisuallyNonEmptyLayout(WebPageProxy*, APIObject*);
+ void didLayout(WebPageProxy*, WebCore::LayoutMilestones, APIObject*);
bool canAuthenticateAgainstProtectionSpaceInFrame(WebPageProxy*, WebFrameProxy*, WebProtectionSpace*);
void didReceiveAuthenticationChallengeInFrame(WebPageProxy*, WebFrameProxy*, AuthenticationChallengeProxy*);