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

Issue 1777653002: Prepare ui/ module for compilation with OS X 10.7 deployment target. (Closed)

Created:
4 years, 9 months ago by erikchen
Modified:
4 years, 9 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, tfarina, Matt Giuca, tapted
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prepare ui/ module for compilation with OS X 10.7 deployment target. 1. Added utility methods ConvertPointFromWindowToScreen and ConvertPointFromScreenToWindow to replace deprecated methods convertBaseToScreen: and convertBaseFromScreen:. 2. Always use -backingScaleFactor. Never use -userSpaceScaleFactor. The utility methods added in (1) will also be used extensively in the content/ and chrome/ modules. BUG=592663 Committed: https://crrev.com/71b49b37f73d3ae1fe219937620aa1f1e6197095 Cr-Commit-Position: refs/heads/master@{#379971}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Comments from avi. #

Patch Set 3 : Compile errors. #

Total comments: 2

Patch Set 4 : Comments from avi. #

Patch Set 5 : Fix deps and compile errors. #

Patch Set 6 : More compile errors. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -34 lines) Patch
M ui/app_list/cocoa/apps_search_box_controller.mm View 2 chunks +6 lines, -3 lines 0 comments Download
M ui/base/cocoa/cocoa_base_utils.h View 1 chunk +8 lines, -0 lines 0 comments Download
M ui/base/cocoa/cocoa_base_utils.mm View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M ui/base/cocoa/command_dispatcher.mm View 2 chunks +3 lines, -2 lines 0 comments Download
M ui/base/layout_mac.mm View 2 chunks +2 lines, -6 lines 0 comments Download
M ui/base/test/ui_controls_mac.mm View 1 3 chunks +3 lines, -2 lines 0 comments Download
M ui/events/cocoa/events_mac_unittest.mm View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M ui/gfx/screen_mac.mm View 1 chunk +1 line, -5 lines 0 comments Download
M ui/snapshot/snapshot_mac.mm View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ui/views/cocoa/bridged_content_view.mm View 2 chunks +4 lines, -2 lines 0 comments Download
M ui/views/cocoa/tooltip_manager_mac.mm View 2 chunks +3 lines, -1 line 0 comments Download
M ui/views/cocoa/widget_owner_nswindow_adapter.mm View 1 2 3 4 2 chunks +6 lines, -7 lines 0 comments Download
M ui/views/controls/menu/menu_runner_impl_cocoa.mm View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ui/views/test/event_generator_delegate_mac.mm View 1 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 30 (15 generated)
erikchen
avi: Please review.
4 years, 9 months ago (2016-03-08 19:26:06 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1777653002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1777653002/1
4 years, 9 months ago (2016-03-08 19:26:18 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/170331) mac_chromium_gn_rel on ...
4 years, 9 months ago (2016-03-08 19:39:05 UTC) #7
Avi (use Gerrit)
https://codereview.chromium.org/1777653002/diff/1/ui/base/cocoa/base_view.mm File ui/base/cocoa/base_view.mm (left): https://codereview.chromium.org/1777653002/diff/1/ui/base/cocoa/base_view.mm#oldcode181 ui/base/cocoa/base_view.mm:181: [self forceTouchEvent:theEvent]; I'm rather uncomfortable here. While it seems ...
4 years, 9 months ago (2016-03-08 20:07:54 UTC) #8
Avi (use Gerrit)
https://codereview.chromium.org/1777653002/diff/1/ui/base/cocoa/base_view.mm File ui/base/cocoa/base_view.mm (left): https://codereview.chromium.org/1777653002/diff/1/ui/base/cocoa/base_view.mm#oldcode181 ui/base/cocoa/base_view.mm:181: [self forceTouchEvent:theEvent]; On 2016/03/08 20:07:54, Avi wrote: > I'm ...
4 years, 9 months ago (2016-03-08 20:13:08 UTC) #9
erikchen
https://codereview.chromium.org/1777653002/diff/1/ui/base/cocoa/base_view.mm File ui/base/cocoa/base_view.mm (left): https://codereview.chromium.org/1777653002/diff/1/ui/base/cocoa/base_view.mm#oldcode181 ui/base/cocoa/base_view.mm:181: [self forceTouchEvent:theEvent]; On 2016/03/08 20:13:08, Avi wrote: > On ...
4 years, 9 months ago (2016-03-08 20:57:41 UTC) #10
Avi (use Gerrit)
lgtm https://codereview.chromium.org/1777653002/diff/40001/ui/views/cocoa/widget_owner_nswindow_adapter.mm File ui/views/cocoa/widget_owner_nswindow_adapter.mm (right): https://codereview.chromium.org/1777653002/diff/40001/ui/views/cocoa/widget_owner_nswindow_adapter.mm#newcode77 ui/views/cocoa/widget_owner_nswindow_adapter.mm:77: // Ensure we anchor off the top-left of ...
4 years, 9 months ago (2016-03-08 21:37:40 UTC) #12
erikchen
https://codereview.chromium.org/1777653002/diff/40001/ui/views/cocoa/widget_owner_nswindow_adapter.mm File ui/views/cocoa/widget_owner_nswindow_adapter.mm (right): https://codereview.chromium.org/1777653002/diff/40001/ui/views/cocoa/widget_owner_nswindow_adapter.mm#newcode77 ui/views/cocoa/widget_owner_nswindow_adapter.mm:77: // Ensure we anchor off the top-left of |anchor_view_| ...
4 years, 9 months ago (2016-03-08 21:42:10 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1777653002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1777653002/60001
4 years, 9 months ago (2016-03-08 21:42:42 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/77715)
4 years, 9 months ago (2016-03-08 21:49:32 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1777653002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1777653002/80001
4 years, 9 months ago (2016-03-08 22:33:04 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/77764)
4 years, 9 months ago (2016-03-08 22:46:53 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1777653002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1777653002/100001
4 years, 9 months ago (2016-03-08 22:58:33 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-08 23:49:26 UTC) #28
commit-bot: I haz the power
4 years, 9 months ago (2016-03-08 23:51:03 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/71b49b37f73d3ae1fe219937620aa1f1e6197095
Cr-Commit-Position: refs/heads/master@{#379971}

Powered by Google App Engine
This is Rietveld 408576698