Skip to content

Commit

Permalink
a few client fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mnutt committed Dec 20, 2023
1 parent 5561fd3 commit eca63f1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Source/WebKitLegacy/qt/WebCoreSupport/ChromeClientQt.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ class ChromeClientQt final : public ChromeClient {

void setStatusbarText(const String&) final;

void rootFrameAdded(const LocalFrame&) final { }
void rootFrameRemoved(const LocalFrame&) final { }

KeyboardUIMode keyboardUIMode() final;

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

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

IntPoint accessibilityScreenToRootView(const IntPoint&) const;
IntRect rootViewToAccessibilityScreen(const IntRect&) const;
void didFinishLoadingImageForElement(HTMLImageElement&);
void intrinsicContentsSizeChanged(const IntSize&) const;
RefPtr<Icon> createIconForFiles(const Vector<WTF::String>&);
IntPoint accessibilityScreenToRootView(const IntPoint&) const final;
IntRect rootViewToAccessibilityScreen(const IntRect&) const final;
void didFinishLoadingImageForElement(HTMLImageElement&) final;
void intrinsicContentsSizeChanged(const IntSize&) const final;
RefPtr<Icon> createIconForFiles(const Vector<WTF::String>&) override;

QWebFullScreenVideoHandler* createFullScreenVideoHandler();

Expand Down
2 changes: 2 additions & 0 deletions Source/WebKitLegacy/qt/WebCoreSupport/FrameLoaderClientQt.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ class FrameLoaderClientQt final : public QObject, public LocalFrameLoaderClient
ResourceError httpNavigationWithHTTPSOnlyError(const ResourceRequest&) const override;
ResourceError pluginWillHandleLoadError(const ResourceResponse&) const override;

void loadStorageAccessQuirksIfNeeded() final { }

bool shouldFallBack(const ResourceError&) const override;

bool canHandleRequest(const WebCore::ResourceRequest&) const override;
Expand Down

0 comments on commit eca63f1

Please sign in to comment.