|
|
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}
Total comments: 10
Total comments: 2
|
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
|
Total messages: 30 (15 generated)
|