Google Chrome confirm close
Enabling "Warn Before Quitting" should prevent that from happening. You can find that option in the Chrome menu in the menubar.

When enabled, you need to hold down ⌘+Q for a bit before it actually quits.