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

Issue 2271653006: base::mac::IsOSSierra() -> base::mac::IsOS10_12(), etc. (Closed)

Created:
4 years, 4 months ago by Sidney San Martín
Modified:
4 years, 3 months ago
CC:
aboxhall+watch_chromium.org, ajuma+watch_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, dtseng+watch_chromium.org, eae+blinkwatch, f(malita), jbroman, jchaffraix+rendering, je_julie, Justin Novosad, kalyank, leviw+renderwatch, mlamouri+watch-content_chromium.org, nektar+watch_chromium.org, noyau+watch_chromium.org, ortuno+watch_chromium.org, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rickyz+watch_chromium.org, rwlbuis, sadrul, scheib+watch_chromium.org, Stephen Chennney, James Su, szager+layoutwatch_chromium.org, tfarina, yuzo+watch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

base::mac::IsOSSierra() -> base::mac::IsOS10_12(), etc. BUG=636093 TBR=jam@chromium.org Committed: https://crrev.com/07171a4c0cda43aa639f8b1b6ec28b46754e8ea5 Cr-Commit-Position: refs/heads/master@{#415359}

Patch Set 1 #

Total comments: 11

Patch Set 2 : MinVersion -> DeploymentTarget, Sierra -> 10_12, // namespace, 10.11 SDK usage #

Patch Set 3 : Add SDK guards to blink, simplify how IsOS* are defined #

Total comments: 12

Patch Set 4 : Further simplify IsOS*, fix Blink changes, add static_asserts for mark@. #

Total comments: 4

Patch Set 5 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -282 lines) Patch
M base/mac/mac_util.h View 1 2 3 4 2 chunks +61 lines, -70 lines 0 comments Download
M base/mac/mac_util.mm View 1 2 3 1 chunk +4 lines, -59 lines 0 comments Download
M base/mac/mac_util_unittest.mm View 1 2 3 1 chunk +52 lines, -40 lines 0 comments Download
M base/process/memory_mac.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M base/sys_info_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/app_controller_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.mm View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_fullscreen_transition.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_layout.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/custom_frame_view.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/custom_frame_view_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/renderer_context_menu/render_view_context_menu_mac_browsertest.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_view.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/crash/content/app/breakpad_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M components/handoff/handoff_manager.mm View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_mac.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/bootstrap_sandbox_manager_mac.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/sandbox_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/renderer_main_platform_delegate_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_adapter_mac.mm View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M sandbox/mac/bootstrap_sandbox_unittest.mm View 7 chunks +7 lines, -7 lines 0 comments Download
M sandbox/mac/launchd_interception_server.cc View 1 chunk +1 line, -1 line 0 comments Download
M sandbox/mac/os_compatibility.cc View 1 chunk +1 line, -1 line 0 comments Download
M sandbox/mac/pre_exec_delegate.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutThemeMac.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/mac/FontFamilyMatcherMac.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/mac/FontFamilyMatcherMacTest.mm View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/mac/VersionUtilMac.h View 1 2 3 1 chunk +16 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/mac/VersionUtilMac.mm View 1 chunk +3 lines, -28 lines 0 comments Download
M third_party/WebKit/Source/platform/mac/VersionUtilMacTest.mm View 1 chunk +9 lines, -9 lines 0 comments Download
M ui/base/cocoa/appkit_utils.mm View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/base/cocoa/base_view.mm View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/mac/io_surface.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/mac/scoped_cocoa_disable_screen_updates.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gfx/render_text_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/test/gl_image_test_template.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/native_theme/native_theme_mac.mm View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/native_theme/native_theme_mac_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/cocoa/bridged_content_view.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M ui/views/cocoa/bridged_native_widget.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M ui/views/controls/menu/menu_config_mac.mm View 1 chunk +2 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 37 (24 generated)
Sidney San Martín
mark@: Could you check for Mac-y-ness? dglazkov@: Could you check for sanity in the Blink ...
4 years, 4 months ago (2016-08-24 20:07:12 UTC) #3
Mark Mentovai
https://codereview.chromium.org/2271653006/diff/1/base/mac/mac_util.h File base/mac/mac_util.h (right): https://codereview.chromium.org/2271653006/diff/1/base/mac/mac_util.h#newcode140 base/mac/mac_util.h:140: static constexpr bool MinVersionIsGreater() { DeploymentTargetIsGreater() or MinRuntimeVersionIsGreater()? https://codereview.chromium.org/2271653006/diff/1/base/mac/mac_util.h#newcode144 ...
4 years, 3 months ago (2016-08-25 13:58:56 UTC) #4
Sidney San Martín
https://codereview.chromium.org/2271653006/diff/1/base/mac/mac_util.h File base/mac/mac_util.h (right): https://codereview.chromium.org/2271653006/diff/1/base/mac/mac_util.h#newcode140 base/mac/mac_util.h:140: static constexpr bool MinVersionIsGreater() { On 2016/08/25 13:58:56, Mark ...
4 years, 3 months ago (2016-08-26 00:00:01 UTC) #5
Mark Mentovai
https://codereview.chromium.org/2271653006/diff/40001/base/mac/mac_util.h File base/mac/mac_util.h (right): https://codereview.chromium.org/2271653006/diff/40001/base/mac/mac_util.h#newcode131 base/mac/mac_util.h:131: return DeploymentTargetIsGreater() || MacOSXMinorVersion() >= V; This doesn’t short-circuit ...
4 years, 3 months ago (2016-08-26 15:27:27 UTC) #10
Sidney San Martín
https://codereview.chromium.org/2271653006/diff/40001/base/mac/mac_util.h File base/mac/mac_util.h (right): https://codereview.chromium.org/2271653006/diff/40001/base/mac/mac_util.h#newcode131 base/mac/mac_util.h:131: return DeploymentTargetIsGreater() || MacOSXMinorVersion() >= V; On 2016/08/26 15:27:26, ...
4 years, 3 months ago (2016-08-28 21:27:18 UTC) #14
Mark Mentovai
LGTM https://codereview.chromium.org/2271653006/diff/120001/base/mac/mac_util.h File base/mac/mac_util.h (right): https://codereview.chromium.org/2271653006/diff/120001/base/mac/mac_util.h#newcode126 base/mac/mac_util.h:126: #define DEFINE_IS_OS_FUNCS(V) _DEFINE_IS_OS_FUNCS(V, OS_X_VERSION_ID(V)) I would put this ...
4 years, 3 months ago (2016-08-29 17:48:42 UTC) #19
Sidney San Martín
Adding jam@ for the big rename. https://codereview.chromium.org/2271653006/diff/120001/base/mac/mac_util.h File base/mac/mac_util.h (right): https://codereview.chromium.org/2271653006/diff/120001/base/mac/mac_util.h#newcode126 base/mac/mac_util.h:126: #define DEFINE_IS_OS_FUNCS(V) _DEFINE_IS_OS_FUNCS(V, ...
4 years, 3 months ago (2016-08-29 18:34:54 UTC) #21
dglazkov
+haraken to look over the Blink bits.
4 years, 3 months ago (2016-08-29 21:03:01 UTC) #23
haraken
WebKit LGTM
4 years, 3 months ago (2016-08-29 21:05:37 UTC) #24
jam
On 2016/08/29 18:34:54, Sidney San Martín wrote: > Adding jam@ for the big rename. per ...
4 years, 3 months ago (2016-08-30 16:34:08 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2271653006/140001
4 years, 3 months ago (2016-08-30 16:51:09 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:140001)
4 years, 3 months ago (2016-08-30 18:22:22 UTC) #35
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 18:24:34 UTC) #37
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/07171a4c0cda43aa639f8b1b6ec28b46754e8ea5
Cr-Commit-Position: refs/heads/master@{#415359}

Powered by Google App Engine
This is Rietveld 408576698