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

Issue 2491403004: Remove CallMsgFilter from MessagePumpWin (Closed)

Created:
4 years, 1 month ago by robliao
Modified:
4 years, 1 month ago
Reviewers:
dcheng, scottmg
CC:
chromium-reviews, sadrul, stanisc, ananta
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove CallMsgFilter from MessagePumpWin kMessageFilterCode is defined locally in message_pump_win.cc. CallMsgFilter is called with this parameter so that WH_SYSMSGFILTER and WH_MSGFILTER hooks can look for them. 1) By construction, no hooks can look for kMessageFilterCode since there are no hooks in message_pump_win.cc. No other components can look for kMessageFilterCode since it is defined locally to message_pump_win.cc 2) WH_SYSMSGFILTER and WH_MSGFILTER do not occur anywhere in the Chromium codebase. As a result, we do not need this call in our message pump anymore. History: Introduced for dragging a virtual file out of the browser. https://chromium.googlesource.com/chromium/src/+/6aa4a1c041ca9bd2c3087c3c059a87193b1a82e1 chrome/browser/views/tab_contents/tab_contents_drag_win.cc Moved To * chrome/browser/ui/views/tab_contents/tab_contents_drag_win.cc [1] * content/browser/tab_contents/web_contents_drag_win.cc [2] * content/browser/web_contents/web_contents_drag_win.cc [3] [1] https://chromium.googlesource.com/chromium/src/+/213dac2f0bff9162502fe325b6ebb85a255efcb2 [2] https://chromium.googlesource.com/chromium/src/+/95f072f9ce35f0ecd2cbf899de96fa9448aa1285 [3] https://chromium.googlesource.com/chromium/src/+/0c4e92e6434bb8936aca2e03fe8d44201cb51089 Deleted in https://chromium.googlesource.com/chromium/src/+/2ceee8f17b6fa286d37f0e9190fed01e5f6a9eff The associated hook code was not migrated to a different file in this change. The WH_MSGFILTER unit test for MessageLoopWin was removed in https://chromium.googlesource.com/chromium/src/+/e73d0300622dbaf3af59863ed1b1370fa76cfdc7 BUG=660930 Committed: https://crrev.com/679a57d34267cd7e46e0a15da2dcdd71d76264a1 Cr-Commit-Position: refs/heads/master@{#431391}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -10 lines) Patch
M base/message_loop/message_pump_win.cc View 3 chunks +2 lines, -10 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
robliao
scottmg: Please review this Windows change for Chrome. Thanks!
4 years, 1 month ago (2016-11-10 19:17:12 UTC) #7
scottmg
On 2016/11/10 19:17:12, robliao wrote: > scottmg: Please review this Windows change for Chrome. > ...
4 years, 1 month ago (2016-11-10 20:05:10 UTC) #10
robliao
On 2016/11/10 20:05:10, scottmg wrote: > On 2016/11/10 19:17:12, robliao wrote: > > scottmg: Please ...
4 years, 1 month ago (2016-11-10 20:16:24 UTC) #11
scottmg
OK, LGTM
4 years, 1 month ago (2016-11-10 20:26:07 UTC) #12
robliao
dcheng@chromium.org: Please review this change. Thanks!
4 years, 1 month ago (2016-11-10 20:28:22 UTC) #14
dcheng
rs lgtm, scottmg knows this way better than i do =)
4 years, 1 month ago (2016-11-10 22:31:08 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2491403004/1
4 years, 1 month ago (2016-11-10 22:58:20 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-10 23:14:37 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 23:28:47 UTC) #22
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/679a57d34267cd7e46e0a15da2dcdd71d76264a1
Cr-Commit-Position: refs/heads/master@{#431391}

Powered by Google App Engine
This is Rietveld 408576698