Huh? There has been chat in the Gmail web interface since before Google defederated from Jabber, although I believe it didn’t have notifications aside from changing the window title, for lack of browser APIs at the time.
Wait no. I'm thinking the other way around. It was chat could enable notifications for hangouts.google.com. But when it moved to mail.google.com now allowing chat notifications allows mail notifications, which I didn't want.