Reimplement titlebar autohiding to be compatible with chromium webview.

Patch Set 4: Fix code formatting

Change-Id: I4de873f7c089d4f7dede944d05f48d03000f3d99
Merge branch 'cm-11.0' of git://github.com/CyanogenMod/android_packages_apps_Browser into cm-11.0