diff options
author | calamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-30 17:10:39 +0000 |
---|---|---|
committer | calamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-30 17:10:39 +0000 |
commit | 14e0641044969d29b9dbc588df4176e049331f1e (patch) | |
tree | 9bc964626e68bb8bba6bc218a7f42612bd2d4962 /chrome/browser/web_applications/web_app_win.h | |
parent | b20491f58dc84518b90da3d57d5c121233bba6a4 (diff) | |
download | chromium_src-14e0641044969d29b9dbc588df4176e049331f1e.zip chromium_src-14e0641044969d29b9dbc588df4176e049331f1e.tar.gz chromium_src-14e0641044969d29b9dbc588df4176e049331f1e.tar.bz2 |
Prevent SHChangeNotify on app list drag on Windows.
This CL fixes an issue with all taskbar icons flashing on every app list
drag due to a SHChangeNotify being fired. This was being caused an overwrite
of the web app path shortcut which is created for drag and drop to the taskbar.
The fix skips the shortcut creation if it already exists (but still updates the icon).
This CL also extracts a GetIconFilePath function.
BUG=356961
Review URL: https://codereview.chromium.org/213833005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260439 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_applications/web_app_win.h')
-rw-r--r-- | chrome/browser/web_applications/web_app_win.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/web_applications/web_app_win.h b/chrome/browser/web_applications/web_app_win.h index 6b2cf5b..3c0dafe 100644 --- a/chrome/browser/web_applications/web_app_win.h +++ b/chrome/browser/web_applications/web_app_win.h @@ -25,6 +25,9 @@ namespace internals { bool CheckAndSaveIcon(const base::FilePath& icon_file, const gfx::ImageFamily& image); +base::FilePath GetIconFilePath(const base::FilePath& web_app_path, + const base::string16& title); + } // namespace internals } // namespace web_app |