Skip to content

Commit eca63f1

Browse files
committed
a few client fixes
1 parent 5561fd3 commit eca63f1

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

Source/WebKitLegacy/qt/WebCoreSupport/ChromeClientQt.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ class ChromeClientQt final : public ChromeClient {
114114

115115
void setStatusbarText(const String&) final;
116116

117+
void rootFrameAdded(const LocalFrame&) final { }
118+
void rootFrameRemoved(const LocalFrame&) final { }
119+
117120
KeyboardUIMode keyboardUIMode() final;
118121

119122
void invalidateRootView(const IntRect&) final;
@@ -207,11 +210,11 @@ class ChromeClientQt final : public ChromeClient {
207210

208211
void requestCookieConsent(CompletionHandler<void(WebCore::CookieConsentDecisionResult)>&&) final;
209212

210-
IntPoint accessibilityScreenToRootView(const IntPoint&) const;
211-
IntRect rootViewToAccessibilityScreen(const IntRect&) const;
212-
void didFinishLoadingImageForElement(HTMLImageElement&);
213-
void intrinsicContentsSizeChanged(const IntSize&) const;
214-
RefPtr<Icon> createIconForFiles(const Vector<WTF::String>&);
213+
IntPoint accessibilityScreenToRootView(const IntPoint&) const final;
214+
IntRect rootViewToAccessibilityScreen(const IntRect&) const final;
215+
void didFinishLoadingImageForElement(HTMLImageElement&) final;
216+
void intrinsicContentsSizeChanged(const IntSize&) const final;
217+
RefPtr<Icon> createIconForFiles(const Vector<WTF::String>&) override;
215218

216219
QWebFullScreenVideoHandler* createFullScreenVideoHandler();
217220

Source/WebKitLegacy/qt/WebCoreSupport/FrameLoaderClientQt.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ class FrameLoaderClientQt final : public QObject, public LocalFrameLoaderClient
160160
ResourceError httpNavigationWithHTTPSOnlyError(const ResourceRequest&) const override;
161161
ResourceError pluginWillHandleLoadError(const ResourceResponse&) const override;
162162

163+
void loadStorageAccessQuirksIfNeeded() final { }
164+
163165
bool shouldFallBack(const ResourceError&) const override;
164166

165167
bool canHandleRequest(const WebCore::ResourceRequest&) const override;

0 commit comments

Comments
 (0)