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

Issue 319703006: [Cocoa] Clean-up: Update comments regarding drawRect override in TabContentsContainerView. (Closed)

Created:
6 years, 6 months ago by miu
Modified:
6 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

[Cocoa] Clean-up: Update comments regarding drawRect override in TabContentsContainerView. Once upon a time, in an era of great suffering, Chromium Mac was not using CoreAnimation, with it being necessary to override -drawRect: to paint the tab contents area background fill. That time has, unfortunately, not yet passed. This change simply updates a few comments to wrap up the resolution of bug 354598, which ccameron@ has mainly fixed in an earlier change; and also defaults the bgColor to white when the themed color is not available. BUG=354598 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275567

Patch Set 1 #

Total comments: 2

Patch Set 2 : Core Animation can still be disabled. :( #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm View 1 4 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
miu
PTAL. https://codereview.chromium.org/319703006/diff/1/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm File chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm (right): https://codereview.chromium.org/319703006/diff/1/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm#newcode121 chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm:121: bgColor = [NSColor whiteColor]; The decision (in https://codereview.chromium.org/244043002) ...
6 years, 6 months ago (2014-06-06 01:09:10 UTC) #1
Avi (use Gerrit)
But those days of woe aren't over. We still need the old code path if ...
6 years, 6 months ago (2014-06-06 02:25:39 UTC) #2
miu
On 2014/06/06 02:25:39, Avi wrote: > But those days of woe aren't over. We still ...
6 years, 6 months ago (2014-06-06 06:26:09 UTC) #3
Avi (use Gerrit)
Yeah, this LGTM. I too am looking forward to removing plenty of non-CA code.
6 years, 6 months ago (2014-06-06 14:20:52 UTC) #4
ccameron
On 2014/06/06 14:20:52, Avi wrote: > Yeah, this LGTM. > > I too am looking ...
6 years, 6 months ago (2014-06-06 16:34:26 UTC) #5
Avi (use Gerrit)
On 2014/06/06 16:34:26, ccameron1 wrote: > On 2014/06/06 14:20:52, Avi wrote: > > Yeah, this ...
6 years, 6 months ago (2014-06-06 16:35:15 UTC) #6
ccameron
On 2014/06/06 16:35:15, Avi wrote: > On 2014/06/06 16:34:26, ccameron1 wrote: > > On 2014/06/06 ...
6 years, 6 months ago (2014-06-06 16:42:51 UTC) #7
miu
Okay, so, shall I just land PS2 as-is, and let ccameron@ delete all the non-CA ...
6 years, 6 months ago (2014-06-06 18:27:11 UTC) #8
ccameron
On 2014/06/06 18:27:11, miu wrote: > Okay, so, shall I just land PS2 as-is, and ...
6 years, 6 months ago (2014-06-06 18:32:16 UTC) #9
miu
The CQ bit was checked by miu@chromium.org
6 years, 6 months ago (2014-06-06 19:15:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/319703006/30001
6 years, 6 months ago (2014-06-06 19:17:08 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-06-07 00:14:11 UTC) #12
Message was sent while issue was closed.
Change committed as 275567

Powered by Google App Engine
This is Rietveld 408576698