Update: Goggles no longer exists. See How do I read QR Codes? for alternatives.
QR Codes should have been implemented this way in all phones, but sadly isn’t.
Motorola Updates Camera And Gallery Apps, Now Allows QR Code Scanning And Saving Albums to MicroSD
Scanning QR codes is a new feature among the Motorola updates
If you have an Android phone you can install Goggles (if it’s not there already) and tie it to the camera app, to get a similar experience. You can of course read QR Codes within Goggles as well, with a quicker response (no pun intended).