Enable horizontal scrollable tab strip flag and make preference (#35448)

* Horizontal scrollable tab strip is enabled by default

* Remove the min inactive width check for scrollable tab strip
  as we have minimum width control via preference

* Remove redundant check and make comment

* Update scrollable tab strip setting label

* Add test for scroll direction when scrollable horizontal pref is disabled

* Remove unnecessary browser object access

* Simplify method
This commit is contained in:
Sangwoo Ko
2026-04-16 08:00:06 +09:00
committed by GitHub
parent 3828c78738
commit 9c3ff661b3
16 changed files with 138 additions and 28 deletions
@@ -362,6 +362,8 @@ const PrefsUtil::TypedPrefMap& BravePrefsUtil::GetAllowlistedKeys() {
settings_api::PrefType::kBoolean;
(*s_brave_allowlist)[brave_tabs::kMiddleClickCloseTabEnabled] =
settings_api::PrefType::kBoolean;
(*s_brave_allowlist)[brave_tabs::kScrollableHorizontalTabStrip] =
settings_api::PrefType::kBoolean;
#endif
#if BUILDFLAG(IS_WIN)