Tab content bounces when creating new tab
commitd63fe80b84af1fc87736014dfa791c6bb26fe2b2
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 18 Oct 2012 23:54:58 +0000 (18 23:54 +0000)
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 18 Oct 2012 23:54:58 +0000 (18 23:54 +0000)
tree0f70e8742443b1ec669b32e5f0f84b9858e37e1d
parentcaf7c8f84122d9b0c967ae14bd1d0baf6b1967c4
Tab content bounces when creating new tab

Suppresses resize events during new tab creation.  The SearchViewController
is optimized for the transition from "loading" to "loaded".  View state
in this case can be simply altered, not reset.

This reverts r161743, from https://chromiumcodereview.appspot.com/11145004.

BUG=148728, 155657
TEST=Create new tab, verify most-visited section doesn't bounce.
R=sky@chromium.org, pedrosimonetti@chromium.org, jhawkins@chromium.org

Review URL: https://chromiumcodereview.appspot.com/11198069

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162848 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/resources/ntp_search/new_tab.js
chrome/browser/resources/ntp_search/tile_page.js
chrome/browser/ui/views/search_view_controller.cc