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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user