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

Issue 5361006: For OSX, make it so that notifications only start resizing after the first paint is done. (Closed)

Created:
10 years ago by levin
Modified:
9 years, 7 months ago
Reviewers:
John Gregg
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

For OSX, make it so that notifications only start resizing after the first paint is done. Also, only allow them to grow. A later fix will remove this ifdef replacing it with code that works across platforms. BUG=56693 TEST=Ran many tests manually. Automated test in progress (before closing the bug). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67673

Patch Set 1 #

Patch Set 2 : fix lint warning #

Patch Set 3 : Fix ifdef. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -2 lines) Patch
M chrome/browser/notifications/balloon.cc View 2 chunks +13 lines, -1 line 1 comment Download
M chrome/browser/notifications/balloon_host.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/notifications/balloon_host.cc View 1 2 4 chunks +38 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
levin
10 years ago (2010-11-30 00:08:49 UTC) #1
John Gregg
10 years ago (2010-11-30 00:25:22 UTC) #2
LGTM after suggested change

http://codereview.chromium.org/5361006/diff/2002/chrome/browser/notifications...
File chrome/browser/notifications/balloon.cc (right):

http://codereview.chromium.org/5361006/diff/2002/chrome/browser/notifications...
chrome/browser/notifications/balloon.cc:32: #if defined(OS_MACOSX)
add comment with a TODO and bug # about making this cross-platform

Powered by Google App Engine
This is Rietveld 408576698