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/test_extension_prefs.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/test_extension_prefs.cc')
-rw-r--r-- | chrome/browser/extensions/test_extension_prefs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/test_extension_prefs.cc b/chrome/browser/extensions/test_extension_prefs.cc index aee917f..60b06b4 100644 --- a/chrome/browser/extensions/test_extension_prefs.cc +++ b/chrome/browser/extensions/test_extension_prefs.cc @@ -123,7 +123,7 @@ scoped_refptr<Extension> TestExtensionPrefs::AddExtensionWithManifestAndFlags( EXPECT_TRUE(Extension::IdIsValid(extension->id())); prefs_->OnExtensionInstalled(extension, Extension::ENABLED, - extra_flags & Extension::FROM_WEBSTORE); + extra_flags & Extension::FROM_WEBSTORE, 0); return extension; } |