browser(webkit): reduce min url toolbar width (#13806)

This commit is contained in:
Pavel Feldman 2022-04-27 16:25:20 -08:00 committed by GitHub
parent 5588defa22
commit c70324d0c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 5 deletions

View file

@ -1,2 +1,2 @@
1632 1633
Changed: dkolesa@igalia.com Wed Apr 20 03:58:57 PM CEST 2022 Changed: pavel.feldman@gmail.com Wed Apr 27 17:21:48 PDT 2022

View file

@ -137,7 +137,7 @@
</toolbarItem> </toolbarItem>
<toolbarItem implicitItemIdentifier="255D29F2-C9AA-4B4B-BB43-B38FCD6A0BBB" label="Location" paletteLabel="Location" id="59"> <toolbarItem implicitItemIdentifier="255D29F2-C9AA-4B4B-BB43-B38FCD6A0BBB" label="Location" paletteLabel="Location" id="59">
<nil key="toolTip"/> <nil key="toolTip"/>
<size key="minSize" width="200" height="22"/> <size key="minSize" width="50" height="22"/>
<size key="maxSize" width="100000" height="22"/> <size key="maxSize" width="100000" height="22"/>
<textField key="view" verticalHuggingPriority="750" id="10"> <textField key="view" verticalHuggingPriority="750" id="10">
<rect key="frame" x="0.0" y="14" width="565" height="22"/> <rect key="frame" x="0.0" y="14" width="565" height="22"/>

View file

@ -16716,10 +16716,10 @@ index 0000000000000000000000000000000000000000..b3bb4880a866ee6132b8b26acf8dad81
+} // namespace WebKit +} // namespace WebKit
diff --git a/Source/WebKit/UIProcess/WebPageInspectorInputAgent.cpp b/Source/WebKit/UIProcess/WebPageInspectorInputAgent.cpp diff --git a/Source/WebKit/UIProcess/WebPageInspectorInputAgent.cpp b/Source/WebKit/UIProcess/WebPageInspectorInputAgent.cpp
new file mode 100644 new file mode 100644
index 0000000000000000000000000000000000000000..45863acc2a61155bdc6db48110a7b196920b73db index 0000000000000000000000000000000000000000..3349b5d961f1308e201782358e8b3a7354d11a97
--- /dev/null --- /dev/null
+++ b/Source/WebKit/UIProcess/WebPageInspectorInputAgent.cpp +++ b/Source/WebKit/UIProcess/WebPageInspectorInputAgent.cpp
@@ -0,0 +1,329 @@ @@ -0,0 +1,332 @@
+/* +/*
+ * Copyright (C) 2019 Microsoft Corporation. + * Copyright (C) 2019 Microsoft Corporation.
+ * + *
@ -16995,6 +16995,9 @@ index 0000000000000000000000000000000000000000..45863acc2a61155bdc6db48110a7b196
+ // operating system. This is turned off in the callback. + // operating system. This is turned off in the callback.
+ m_page.setInterceptDrags(true); + m_page.setInterceptDrags(true);
+#if PLATFORM(MAC) +#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); + platformDispatchMouseEvent(type, x, y, WTFMove(modifiers), button, WTFMove(clickCount), eventButtons);
+#elif PLATFORM(GTK) || PLATFORM(WPE) || PLATFORM(WIN) +#elif PLATFORM(GTK) || PLATFORM(WPE) || PLATFORM(WIN)
+ WallTime timestamp = WallTime::now(); + WallTime timestamp = WallTime::now();