fix ask.com once and for all

This commit is contained in:
Alexander Frick 2024-10-05 06:35:55 -05:00
parent 65d4177375
commit 56740e553d
2 changed files with 12 additions and 5 deletions

View file

@ -1356,6 +1356,18 @@ index 70e366e816db5..a727ed4aa725f 100644
inline constexpr char kChromeUIAboutHost[] = "about"; inline constexpr char kChromeUIAboutHost[] = "about";
inline constexpr char kChromeUIAboutURL[] = "chrome://about/"; inline constexpr char kChromeUIAboutURL[] = "chrome://about/";
inline constexpr char kChromeUIAccessCodeCastHost[] = "access-code-cast"; inline constexpr char kChromeUIAccessCodeCastHost[] = "access-code-cast";
diff --git a/components/resources/search_engine_choice_scaled_resources.grdp b/components/resources/search_engine_choice_scaled_resources.grdp
index 87d186a04e66c..01beccd365540 100644
--- a/components/resources/search_engine_choice_scaled_resources.grdp
+++ b/components/resources/search_engine_choice_scaled_resources.grdp
@@ -6,6 +6,7 @@
<structure type="chrome_scaled_image" name="IDR_GOOGLE_COM_PNG" file="google_chrome/google_search_logo.png" />
</if>
<structure type="chrome_scaled_image" name="IDR_AR_YAHOO_COM_PNG" file="search_engine_choice/yahoo_com.png" />
+ <structure type="chrome_scaled_image" name="IDR_ASK_COM_PNG" file="search_engine_choice/ask_com.png" />
<structure type="chrome_scaled_image" name="IDR_AT_YAHOO_COM_PNG" file="search_engine_choice/yahoo_com.png" />
<structure type="chrome_scaled_image" name="IDR_AU_YAHOO_COM_PNG" file="search_engine_choice/yahoo_com.png" />
<structure type="chrome_scaled_image" name="IDR_BING_COM_PNG" file="search_engine_choice/bing_com.png" />
diff --git a/ui/base/ui_base_features.cc b/ui/base/ui_base_features.cc diff --git a/ui/base/ui_base_features.cc b/ui/base/ui_base_features.cc
index ed801f34141da..bc24e8c7dfbe9 100644 index ed801f34141da..bc24e8c7dfbe9 100644
--- a/ui/base/ui_base_features.cc --- a/ui/base/ui_base_features.cc

View file

@ -324,11 +324,6 @@ case $1 in
--cros) copyCros; --cros) copyCros;
esac esac
cd ${CR_SRC_DIR} &&
printf "${YEL}Workaround for Ask.com favicon ▾${c0}\n" &&
python3 ./tools/search_engine_choice/download_search_engine_icons.py &&
cd ~/thorium &&
printf "\n" && printf "\n" &&
printf "${GRE}Done!${c0}\n" && printf "${GRE}Done!${c0}\n" &&