Don't send a SHChangeNotify for creating an app icon when creating a shortcut.
commite823d885146e3afea82f31a685bbab560a523e3f
authorcalamity <calamity@chromium.org>
Thu, 26 Mar 2015 04:54:43 +0000 (25 21:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Mar 2015 04:55:18 +0000 (26 04:55 +0000)
treed4c81d5bca6c3bfcd7f023fae01ac89a0f8d7bbe
parented113b20e8e8658be2bfc42faa093d8368e60900
Don't send a SHChangeNotify for creating an app icon when creating a shortcut.

This CL fixes an issue with the initial app sync on sign-in causing many
taskbar flashes due to icon creation always sending a SHChangeNotify.

This shouldn't be necessary for icon creation due to shortcut creation so
avoid SHChangeNotify in this case.

BUG=470002

Review URL: https://codereview.chromium.org/1026113003

Cr-Commit-Position: refs/heads/master@{#322324}
chrome/browser/web_applications/update_shortcut_worker_win.cc
chrome/browser/web_applications/web_app_win.cc
chrome/browser/web_applications/web_app_win.h