Chromium Code Reviews
Help | Chromium Project | Sign in
(3)

Issue 2804035: Clean up mac translate bars. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 11 months ago by feldstein
Modified:
4 years ago
Reviewers:
Jay Civelli, jeremy
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Clean up mac translate bars. Switch buttons to use the metal style, and fix up spacing a bit. BUG=40425 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52187

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : Refactor loop #

Patch Set 4 : Fix long lines #

Patch Set 5 : Fix broken options button #

Patch Set 6 : Shrink the options button when necessary #

Patch Set 7 : Fix unit tests #

Total comments: 8

Patch Set 8 : Fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -23 lines) Patch
M chrome/browser/cocoa/translate/after_translate_infobar_controller.mm View 1 2 3 4 5 6 7 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/translate/before_translate_infobar_controller.mm View 1 2 3 4 5 6 7 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/cocoa/translate/translate_infobar_base.h View 3 4 5 6 7 3 chunks +15 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/translate/translate_infobar_base.mm View 1 2 3 4 5 6 7 11 chunks +81 lines, -12 lines 0 comments Download
M chrome/browser/cocoa/translate/translate_infobar_unittest.mm View 3 4 5 6 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/translate/translate_message_infobar_controller.mm View 6 7 1 chunk +4 lines, -0 lines 0 comments Download
Trybot results:
Commit: CQ not working?

Messages

Total messages: 7 (0 generated)
feldstein
Jeremy can you take a look at this?
4 years, 11 months ago (2010-07-02 00:18:00 UTC) #1
jeremy
http://codereview.chromium.org/2804035/diff/3001/4003 File chrome/browser/cocoa/translate/translate_infobar_base.mm (right): http://codereview.chromium.org/2804035/diff/3001/4003#newcode420 chrome/browser/cocoa/translate/translate_infobar_base.mm:420: NSArray* metalPopups = [NSArray arrayWithObjects:optionsPopUp_.get(), Can we add a ...
4 years, 11 months ago (2010-07-05 08:02:07 UTC) #2
feldstein
http://codereview.chromium.org/2804035/diff/3001/4003 File chrome/browser/cocoa/translate/translate_infobar_base.mm (right): http://codereview.chromium.org/2804035/diff/3001/4003#newcode420 chrome/browser/cocoa/translate/translate_infobar_base.mm:420: NSArray* metalPopups = [NSArray arrayWithObjects:optionsPopUp_.get(), On 2010/07/05 08:02:07, jeremy ...
4 years, 10 months ago (2010-07-07 22:30:38 UTC) #3
feldstein
Hey Jeremy, I added another fix into this. There was an issue where if the ...
4 years, 10 months ago (2010-07-09 02:05:42 UTC) #4
jeremy
AFAIK we don't generally handle the case of the infobars behaving well when shrinking the ...
4 years, 10 months ago (2010-07-11 08:35:12 UTC) #5
feldstein
ptal. I wasn't particularly sure about the decision for putting the didChangeFrame: method in a ...
4 years, 10 months ago (2010-07-13 00:02:39 UTC) #6
jeremy
4 years, 10 months ago (2010-07-13 06:06:03 UTC) #7
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be