Fix a typo.  TextDirection is the name of the enum, while GetTextDirection returns the current text direction.  Also fixes a few lint nits.
Fix a typo.  TextDirection is the name of the enum, while GetTextDirection returns the current text direction.  Also fixes a few lint nits.

CID=4539
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/149257

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

Former-commit-id: 026c81664ce423cb275e7302d8afabe3fc4742d5
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