Only move dialogs on BrowserViewLayout::Layout as needed.

BrowserView layout occurs frequently with unchanged bounds.
(ex. when the page title changes Widget::UpdateWindowTitle)

Only update dialog positions on browser layout as needed.
(ie. when the browser's dialog hosting position changes)
(this happens very rarely, since most dialogs are modal)
Make the GetDialogPosition OVERRIDE public, matches decl.

BUG=305480
TEST=Modal dialogs do not flicker while dragging during tab load. Load a site that takes a few seconds to finish loading (cnn.com, youtube.com, etc.), open and drag the edit bookmark dialog or edit search engine dialog while the tab is loading, ensure the dialog does not flicker while dragging and is not automatically moved back to its starting position after dragging.
R=sky@chromium.org
TBR=ben@chromium.org

Review URL: https://codereview.chromium.org/111003004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239912 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 239912
Fixing Java style issues in chrome/android/

BUG=320711
NOTRY=true

Review URL: https://codereview.chromium.org/111203004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239913 0039d316-1c4b-4281-b951-d872f2087c98
[cr tool] Improving init hooks

Change init fixups to proper init hooks that can detect fixups instead, change version to something with natural order so you can test for earlier versions.
This will enable init hooks to deal with non android clients.

BUG=311092

Review URL: https://codereview.chromium.org/111563004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239914 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 239914