From c70324d0c07fbe53bbd7028982896df86deaffc2 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Wed, 27 Apr 2022 16:25:20 -0800 Subject: [PATCH] browser(webkit): reduce min url toolbar width (#13806) --- browser_patches/webkit/BUILD_NUMBER | 4 ++-- .../webkit/embedder/Playwright/mac/BrowserWindow.xib | 2 +- browser_patches/webkit/patches/bootstrap.diff | 7 +++++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBER index 10d55b1182..343be7ad24 100644 --- a/browser_patches/webkit/BUILD_NUMBER +++ b/browser_patches/webkit/BUILD_NUMBER @@ -1,2 +1,2 @@ -1632 -Changed: dkolesa@igalia.com Wed Apr 20 03:58:57 PM CEST 2022 +1633 +Changed: pavel.feldman@gmail.com Wed Apr 27 17:21:48 PDT 2022 diff --git a/browser_patches/webkit/embedder/Playwright/mac/BrowserWindow.xib b/browser_patches/webkit/embedder/Playwright/mac/BrowserWindow.xib index 3634203bf2..a7cee4bcc4 100644 --- a/browser_patches/webkit/embedder/Playwright/mac/BrowserWindow.xib +++ b/browser_patches/webkit/embedder/Playwright/mac/BrowserWindow.xib @@ -137,7 +137,7 @@ - + diff --git a/browser_patches/webkit/patches/bootstrap.diff b/browser_patches/webkit/patches/bootstrap.diff index 5c0ea9838b..430d3544ea 100644 --- a/browser_patches/webkit/patches/bootstrap.diff +++ b/browser_patches/webkit/patches/bootstrap.diff @@ -16716,10 +16716,10 @@ index 0000000000000000000000000000000000000000..b3bb4880a866ee6132b8b26acf8dad81 +} // namespace WebKit diff --git a/Source/WebKit/UIProcess/WebPageInspectorInputAgent.cpp b/Source/WebKit/UIProcess/WebPageInspectorInputAgent.cpp new file mode 100644 -index 0000000000000000000000000000000000000000..45863acc2a61155bdc6db48110a7b196920b73db +index 0000000000000000000000000000000000000000..3349b5d961f1308e201782358e8b3a7354d11a97 --- /dev/null +++ b/Source/WebKit/UIProcess/WebPageInspectorInputAgent.cpp -@@ -0,0 +1,329 @@ +@@ -0,0 +1,332 @@ +/* + * Copyright (C) 2019 Microsoft Corporation. + * @@ -16995,6 +16995,9 @@ index 0000000000000000000000000000000000000000..45863acc2a61155bdc6db48110a7b196 + // operating system. This is turned off in the callback. + m_page.setInterceptDrags(true); +#if PLATFORM(MAC) ++ ASSERT_UNUSED(eventType, 1); ++ ASSERT_UNUSED(eventButton, 1); ++ ASSERT_UNUSED(eventClickCount, 1); + platformDispatchMouseEvent(type, x, y, WTFMove(modifiers), button, WTFMove(clickCount), eventButtons); +#elif PLATFORM(GTK) || PLATFORM(WPE) || PLATFORM(WIN) + WallTime timestamp = WallTime::now();