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

Issue 2314873004: Fix bug that causes spurious tab switches. (Closed)

Created:
4 years, 3 months ago by erikchen
Modified:
4 years, 3 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix bug that causes spurious tab switches. This CL removes the implementation of -[TabView mouseUp:] which should never be called, since -[TabView mouseDown:] always triggers a nested run loop that swallows the -[TabView mouseUp:] event. There's an AppKit bug that -[TabView mouseUp:] on inappropriate views, so it's doubly important that the implementation not do anything. BUG=511095 Committed: https://crrev.com/46984b9958ff5af0561a933f6596d85d695cb44d Cr-Commit-Position: refs/heads/master@{#417368}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comments from rsesek. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -9 lines) Patch
M chrome/browser/ui/cocoa/tabs/tab_view.mm View 1 1 chunk +5 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
erikchen
rsesek: Please review.
4 years, 3 months ago (2016-09-07 22:00:48 UTC) #6
Robert Sesek
https://codereview.chromium.org/2314873004/diff/1/chrome/browser/ui/cocoa/tabs/tab_view.mm File chrome/browser/ui/cocoa/tabs/tab_view.mm (left): https://codereview.chromium.org/2314873004/diff/1/chrome/browser/ui/cocoa/tabs/tab_view.mm#oldcode353 chrome/browser/ui/cocoa/tabs/tab_view.mm:353: // During rapid tab closure (mashing tab close buttons), ...
4 years, 3 months ago (2016-09-08 15:15:12 UTC) #7
erikchen
rsesek: PTAL https://codereview.chromium.org/2314873004/diff/1/chrome/browser/ui/cocoa/tabs/tab_view.mm File chrome/browser/ui/cocoa/tabs/tab_view.mm (left): https://codereview.chromium.org/2314873004/diff/1/chrome/browser/ui/cocoa/tabs/tab_view.mm#oldcode353 chrome/browser/ui/cocoa/tabs/tab_view.mm:353: // During rapid tab closure (mashing tab ...
4 years, 3 months ago (2016-09-08 17:09:47 UTC) #8
Robert Sesek
LGTM
4 years, 3 months ago (2016-09-08 18:55:53 UTC) #9
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/2314873004/20001
4 years, 3 months ago (2016-09-08 19:03:08 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-08 19:46:53 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 19:49:11 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/46984b9958ff5af0561a933f6596d85d695cb44d
Cr-Commit-Position: refs/heads/master@{#417368}

Powered by Google App Engine
This is Rietveld 408576698