diff options
author | calamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-31 14:15:07 +0000 |
---|---|---|
committer | calamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-31 14:15:07 +0000 |
commit | a485151091e2825310515d1facc658cd7db6eec0 (patch) | |
tree | 90223212763443d8106b5256202fbddfdb30ea02 /base | |
parent | d260418c1b8849c763d5c859f027761989cc1b6d (diff) | |
download | chromium_src-a485151091e2825310515d1facc658cd7db6eec0.zip chromium_src-a485151091e2825310515d1facc658cd7db6eec0.tar.gz chromium_src-a485151091e2825310515d1facc658cd7db6eec0.tar.bz2 |
Enable profile pinning by setting browser window relaunch details
Make it possible to pin shortcuts by setting the relaunch data for each browser window.
BUG=177490,107080,146647
TEST=Create separate profiles and pin the taskbar icons. Clicking the pinned icons should relaunch chrome with the appropriate profile.
TBR=cpu@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231295
Review URL: https://codereview.chromium.org/14122006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232109 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/win/shortcut.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/base/win/shortcut.h b/base/win/shortcut.h index c68edb9..0f5fb0f 100644 --- a/base/win/shortcut.h +++ b/base/win/shortcut.h @@ -130,11 +130,13 @@ BASE_EXPORT bool ResolveShortcut(const FilePath& shortcut_path, string16* args); // Pins a shortcut to the Windows 7 taskbar. The shortcut file must already -// exist and be a shortcut that points to an executable. +// exist and be a shortcut that points to an executable. The app id of the +// shortcut is used to group windows and must be set correctly. BASE_EXPORT bool TaskbarPinShortcutLink(const wchar_t* shortcut); // Unpins a shortcut from the Windows 7 taskbar. The shortcut must exist and -// already be pinned to the taskbar. +// already be pinned to the taskbar. The app id of the shortcut is used as the +// identifier for the taskbar item to remove and must be set correctly. BASE_EXPORT bool TaskbarUnpinShortcutLink(const wchar_t* shortcut); } // namespace win |