// Block any navigation requests in locked fullscreen mode.
return nullptr;
}
-#if defined(SAMSUNG_NEXT_BROWSER)
- if (params->url.SchemeIsFileSystem() || params->url.SchemeIsFile())
- return nullptr;
-#endif // SAMSUNG_NEXT_BROWSER
- // Open System Apps in their standalone window if necessary.
- // TODO(crbug.com/1096345): Remove this code after we integrate with intent
- // handling.
+ // Open System Apps in their standalone window if necessary.
+ // TODO(crbug.com/1096345): Remove this code after we integrate with intent
+ // handling.
#if BUILDFLAG(IS_CHROMEOS_ASH)
const absl::optional<ash::SystemWebAppType> capturing_system_app_type =
ash::GetCapturingSystemAppForURL(params->initiating_profile, params->url);
// A user might or might not type a scheme when entering a file URL. In
// either case, |parsed_scheme_utf8| will tell us that this is a file URL,
// but |parts->scheme| might be empty, e.g. if the user typed "C:\foo".
-
-#if (BUILDFLAG(IS_IOS) || BUILDFLAG(IS_ANDROID))
+#if (BUILDFLAG(IS_IOS) || BUILDFLAG(IS_ANDROID) || \
+ defined(SAMSUNG_NEXT_BROWSER))
// On iOS and Android, which cannot display file:/// URLs, treat this case
// like a query.
return metrics::OmniboxInputType::QUERY;