Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Issue 213833005: Prevent SHChangeNotify on app list drag on Windows. (Closed)

Created:
6 years, 9 months ago by calamity
Modified:
6 years, 8 months ago
Reviewers:
cmp, benwells
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, jackhou
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260439

Patch Set 1 : #

Total comments: 2

Patch Set 2 : remove unnecssary namespaces #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -23 lines) Patch
M chrome/browser/ui/web_applications/web_app_ui.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/web_applications/web_app_win.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/web_applications/web_app_win.cc View 1 2 8 chunks +34 lines, -21 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
calamity
6 years, 9 months ago (2014-03-27 01:10:33 UTC) #1
benwells
lgtm https://codereview.chromium.org/213833005/diff/20001/chrome/browser/web_applications/web_app_win.cc File chrome/browser/web_applications/web_app_win.cc (right): https://codereview.chromium.org/213833005/diff/20001/chrome/browser/web_applications/web_app_win.cc#newcode348 chrome/browser/web_applications/web_app_win.cc:348: web_app::internals::CheckAndSaveIcon( Nit: you don't need web_app:: here. https://codereview.chromium.org/213833005/diff/20001/chrome/browser/web_applications/web_app_win.cc#newcode457 ...
6 years, 9 months ago (2014-03-27 01:53:22 UTC) #2
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 9 months ago (2014-03-27 13:16:24 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/213833005/40001
6 years, 9 months ago (2014-03-27 13:16:37 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 13:16:41 UTC) #5
commit-bot: I haz the power
Failed to apply patch for chrome/browser/web_applications/web_app_win.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-27 13:16:42 UTC) #6
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 9 months ago (2014-03-28 00:14:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/213833005/60001
6 years, 9 months ago (2014-03-28 00:16:38 UTC) #8
cmp
The CQ bit was unchecked by cmp@chromium.org
6 years, 8 months ago (2014-03-30 16:35:35 UTC) #9
cmp
The CQ bit was checked by cmp@chromium.org
6 years, 8 months ago (2014-03-30 16:37:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/213833005/60001
6 years, 8 months ago (2014-03-30 16:37:56 UTC) #11
commit-bot: I haz the power
6 years, 8 months ago (2014-03-30 17:10:41 UTC) #12
Message was sent while issue was closed.
Change committed as 260439

Powered by Google App Engine
This is Rietveld 408576698