Cleanup the code to adjust the size/location of compact navigation bar.  Clipping happens when the location is not in Root's vibible rect.  I think this is good and general enough to be used with different layouts.
Cleanup the code to adjust the size/location of compact navigation bar.
 Clipping happens when the location is not in Root's vibible rect.
 I think this is good and general enough to be used with different layouts.

BUG=none
TEST=none

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

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

Former-commit-id: 3eb599a13b7e8622025bddb8f4ad9c8cdb736887
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