Additions of minor utility functions.
Additions of minor utility functions.

Review URL: http://codereview.chromium.org/173041

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

Former-commit-id: 70aa11f179757e18a668c86b1ff898a5a9802756
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