Prevent crashes in QEMU by (correctly) saying no commands are enabled when there is no selected tab. This is significantly simpler than NULL checking all over the place since no one should call ExecuteCommand without first calling IsCommandEnabled.
Prevent crashes in QEMU by (correctly) saying no commands are enabled when there is no selected tab. This is significantly simpler than NULL checking all over the place since no one should call ExecuteCommand without first calling IsCommandEnabled.

TBR=sky
Review URL: http://codereview.chromium.org/10783

git-svn-id: http://src.chromium.org/svn/trunk/src@5545 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 6371c563a9c50884a77d94a4141df1253ee27991
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser