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

Issue 1780333006: Check for null |tabstrip_| in BrowserView::IsTabStripVisible() (Closed)

Created:
4 years, 9 months ago by tdanderson
Modified:
4 years, 9 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check for null |tabstrip_| in BrowserView::IsTabStripVisible() Have BrowserView::IsTabStripVisible() return false if |tabstrip_| is null, which is consistent with the behaviour of other BrowserView::Is*Visible() functions. BUG=594649 TEST=none Committed: https://crrev.com/9b4aaba68babcfcee3887c04cc5397e6d5755450 Cr-Commit-Position: refs/heads/master@{#381235}

Patch Set 1 #

Total comments: 4

Patch Set 2 : DoesIntersectRect() implementations #

Total comments: 13

Patch Set 3 : only change Ash/Mus #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -24 lines) Patch
M chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.cc View 1 2 1 chunk +14 lines, -16 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 2 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
tdanderson
4 years, 9 months ago (2016-03-11 19:32:42 UTC) #2
Peter Kasting
LGTM. I'm kinda surprised this didn't cause more problems, given how many callers blindly deref ...
4 years, 9 months ago (2016-03-11 22:19:51 UTC) #3
tdanderson
Peter, I tried to unify the Ash, Mus, and Opaque frame implementations of DoesIntersectRect(); please ...
4 years, 9 months ago (2016-03-14 20:38:33 UTC) #5
Peter Kasting
I suggest keeping hit test behavior changes (even for the opaque frame) in their own ...
4 years, 9 months ago (2016-03-14 23:04:42 UTC) #6
tdanderson
https://codereview.chromium.org/1780333006/diff/20001/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc File chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc (right): https://codereview.chromium.org/1780333006/diff/20001/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc#newcode417 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc:417: // |rect| is entirely below the tabstrip. On 2016/03/14 ...
4 years, 9 months ago (2016-03-15 15:51:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1780333006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1780333006/40001
4 years, 9 months ago (2016-03-15 15:52:00 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-15 16:59:51 UTC) #12
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 17:00:49 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9b4aaba68babcfcee3887c04cc5397e6d5755450
Cr-Commit-Position: refs/heads/master@{#381235}

Powered by Google App Engine
This is Rietveld 408576698