diff options
author | jstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-19 15:22:48 +0000 |
---|---|---|
committer | jstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-19 15:22:48 +0000 |
commit | ef8f0ca99fdb6d25dff20e0d60ab64fdfe4fd1a6 (patch) | |
tree | d6bd9bf497f9c3dcc7cb576d5a29e13378af89b9 /chrome/browser/extensions/extension_prefs.h | |
parent | 1ab7761d57f2144fac3f03958e571410b595a2b9 (diff) | |
download | chromium_src-ef8f0ca99fdb6d25dff20e0d60ab64fdfe4fd1a6.zip chromium_src-ef8f0ca99fdb6d25dff20e0d60ab64fdfe4fd1a6.tar.gz chromium_src-ef8f0ca99fdb6d25dff20e0d60ab64fdfe4fd1a6.tar.bz2 |
Track which apps the user has re-ordered on the NTP.
BUG=73445
TEST=ExtensionPrefsAppDraggedByUser
Review URL: http://codereview.chromium.org/6543017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_prefs.h')
-rw-r--r-- | chrome/browser/extensions/extension_prefs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h index 12ed88a..b48f617 100644 --- a/chrome/browser/extensions/extension_prefs.h +++ b/chrome/browser/extensions/extension_prefs.h @@ -260,6 +260,14 @@ class ExtensionPrefs { // Sets the order the apps should be displayed in the app launcher. void SetAppLauncherOrder(const std::vector<std::string>& extension_ids); + // Returns true if the user repositioned the app on the app launcher via drag + // and drop. + bool WasAppDraggedByUser(const std::string& extension_id); + + // Sets a flag indicating that the user repositioned the app on the app + // launcher by drag and dropping it. + void SetAppDraggedByUser(const std::string& extension_id); + // The extension's update URL data. If not empty, the ExtensionUpdater // will append a ap= parameter to the URL when checking if a new version // of the extension is available. |