diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-22 21:01:35 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-22 21:01:35 +0000 |
commit | cc829cf6a86824c7651abf68b47993b3d1629260 (patch) | |
tree | d3aada7adc47acfa17c716194833f8eb5eef81eb /chrome/browser/extensions/extension_browsertest.cc | |
parent | 85d52babf996c106a02b8fea6d07870351f82908 (diff) | |
download | chromium_src-cc829cf6a86824c7651abf68b47993b3d1629260.zip chromium_src-cc829cf6a86824c7651abf68b47993b3d1629260.tar.gz chromium_src-cc829cf6a86824c7651abf68b47993b3d1629260.tar.bz2 |
ntp4: make app-install-via-drag less janky
don't reposition the tiles since we always add the app at the end anyways.
Also, respect which page it's dropped on (instead of always adding to the first page).
BUG=93159
TEST=drag a most visited tile onto an apps page.
Review URL: http://codereview.chromium.org/7677032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97733 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_browsertest.cc')
-rw-r--r-- | chrome/browser/extensions/extension_browsertest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc index b6ca886..8fa5035 100644 --- a/chrome/browser/extensions/extension_browsertest.cc +++ b/chrome/browser/extensions/extension_browsertest.cc @@ -90,7 +90,7 @@ const Extension* ExtensionBrowserTest::LoadExtensionWithOptions( // The call to OnExtensionInstalled ensures the other extension prefs // are set up with the defaults. service->extension_prefs()->OnExtensionInstalled( - extension, Extension::ENABLED, false); + extension, Extension::ENABLED, false, 0); // Toggling incognito or file access will reload the extension, so wait for // the reload and grab the new extension instance. The default state is |