disable-formatting-in-omnibox.patch 1.25 KB
Newer Older
1
# Disables omission of URL elements in Omnibox and status bubble
2

3
Index: chromium-128.0.6613.137/chrome/browser/ui/status_bubble.h
4
===================================================================
5 6
--- chromium-128.0.6613.137.orig/chrome/browser/ui/status_bubble.h
+++ chromium-128.0.6613.137/chrome/browser/ui/status_bubble.h
7 8 9 10 11 12
@@ -18,7 +18,7 @@ class GURL;
 class StatusBubble {
  public:
   // On hover, expand status bubble to fit long URL after this delay.
-  static const int kExpandHoverDelayMS = 1600;
+  static const int kExpandHoverDelayMS = 0;
13
 
14
   virtual ~StatusBubble() {}
15
 
16
Index: chromium-128.0.6613.137/chrome/browser/ui/toolbar/chrome_location_bar_model_delegate.cc
17
===================================================================
18 19
--- chromium-128.0.6613.137.orig/chrome/browser/ui/toolbar/chrome_location_bar_model_delegate.cc
+++ chromium-128.0.6613.137/chrome/browser/ui/toolbar/chrome_location_bar_model_delegate.cc
20 21 22 23 24 25 26
@@ -261,5 +261,5 @@ TemplateURLService* ChromeLocationBarMod
 // static
 void ChromeLocationBarModelDelegate::RegisterProfilePrefs(
     user_prefs::PrefRegistrySyncable* registry) {
-  registry->RegisterBooleanPref(omnibox::kPreventUrlElisionsInOmnibox, false);
+  registry->RegisterBooleanPref(omnibox::kPreventUrlElisionsInOmnibox, true);
 }