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

Issue 10545050: mac: Use NSWidth() and friends in a few more places. (Closed)

Created:
8 years, 6 months ago by Nico
Modified:
8 years, 6 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, asanka, mihaip-chromium-reviews_chromium.org, jeremya+watch_chromium.org, Randy Smith (Not in Mondays), Aaron Boodman, pam+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

mac: Use NSWidth() and friends in a few more places. No intended behavior change. BUG=none TEST=none TBR=owners Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=141084

Patch Set 1 #

Patch Set 2 : . #

Total comments: 5

Patch Set 3 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -73 lines) Patch
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 10 chunks +17 lines, -19 lines 0 comments Download
M chrome/browser/ui/cocoa/confirm_bubble_cocoa.mm View 6 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/ui/cocoa/dock_icon.mm View 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/download/download_item_cell.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm View 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/image_button_cell.mm View 2 chunks +3 lines, -3 lines 0 comments Download
M skia/ext/canvas_paint_mac.h View 3 chunks +5 lines, -5 lines 0 comments Download
M skia/ext/skia_utils_mac.mm View 1 chunk +1 line, -4 lines 0 comments Download
M ui/base/cocoa/base_view.mm View 1 chunk +2 lines, -3 lines 0 comments Download
M ui/base/cocoa/base_view_unittest.mm View 1 chunk +6 lines, -6 lines 0 comments Download
M ui/base/cocoa/underlay_opengl_hosting_window.mm View 1 chunk +1 line, -2 lines 0 comments Download
M ui/gfx/platform_font_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M webkit/tools/test_shell/webview_host_mac.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/webwidget_host_mac.mm View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nico
I find this a bit easier to read. I noticed it in to files and ...
8 years, 6 months ago (2012-06-07 05:34:06 UTC) #1
Robert Sesek
I agree these are easier to read. Maybe it's because I'm early, but I'm not ...
8 years, 6 months ago (2012-06-07 16:52:38 UTC) #2
Nico
Thanks! It's probably good enough to rely on osmosis; I wouldn't update the style guide. ...
8 years, 6 months ago (2012-06-07 17:40:23 UTC) #3
Robert Sesek
LGTM https://chromiumcodereview.appspot.com/10545050/diff/2001/chrome/browser/ui/cocoa/browser_window_cocoa.mm File chrome/browser/ui/cocoa/browser_window_cocoa.mm (right): https://chromiumcodereview.appspot.com/10545050/diff/2001/chrome/browser/ui/cocoa/browser_window_cocoa.mm#newcode272 chrome/browser/ui/cocoa/browser_window_cocoa.mm:272: bounds.set_y(NSHeight([screen frame]) - NSMaxY(frame)); On 2012/06/07 17:40:23, Nico ...
8 years, 6 months ago (2012-06-07 18:37:20 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/10545050/1016
8 years, 6 months ago (2012-06-07 18:37:44 UTC) #5
commit-bot: I haz the power
Presubmit check for 10545050-1016 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 6 months ago (2012-06-07 18:37:50 UTC) #6
commit-bot: I haz the power
8 years, 6 months ago (2012-06-07 21:33:24 UTC) #7

Powered by Google App Engine
This is Rietveld 408576698