[webkit-changes] [WebKit/WebKit] a59fc6: [visionOS] Get largest image source when using Qui...

Commit Queue noreply at github.com
Fri Oct 18 02:05:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a59fc6e9e102801c1f9690bb366578dc0a191605
      https://github.com/WebKit/WebKit/commit/a59fc6e9e102801c1f9690bb366578dc0a191605
  Author: Yoel Hawa <yoel at apple.com>
  Date:   2024-10-18 (Fri, 18 Oct 2024)

  Changed paths:
    M Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp
    M Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.h

  Log Message:
  -----------
  [visionOS] Get largest image source when using Quick Look for fullscreen
https://bugs.webkit.org/show_bug.cgi?id=281628
<rdar://136328803>

Reviewed by Wenson Hsieh.

Upon delegating fullscreen to Quick Look, inform the page that the
viewport size has increased to the maximum possible size. This way,
the largest image source available will be selected from available
`srcset` options.

* Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp:
(WebKit::WebFullScreenManager::didEnterFullScreen):
(WebKit::WebFullScreenManager::didExitFullScreen):
* Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.h:
Inform the page that the viewport size has increased to the maximum
possible size.

Canonical link: https://commits.webkit.org/285387@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list