|
Enable AutoResize for Constrained Web Dialogs for Mac.
Currently only constrained web dialogs for views (Linux/Windows) are able to
autoresize. This change implements the option to pass in minimum and maximum
sizes and enabling autoresizing functionality for OSX.
This change adds two static functions for options on whether to create a
ConstrainedWindowsMac that autoresizes or is of fixed size.
BUG= 217034
Committed: https://crrev.com/0dbc8ff6d68291773b8b233a19e399d00f9262b0
Cr-Commit-Position: refs/heads/master@{#359497}
Total comments: 34
Total comments: 4
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+267 lines, -55 lines) |
Patch |
 |
M |
chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/certificate_viewer_mac.mm
|
View
|
1
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm
|
View
|
1
2
3
|
7 chunks |
+137 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h
|
View
|
1
2
3
|
4 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm
|
View
|
1
2
3
|
2 chunks |
+34 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/constrained_window/constrained_window_mac_browsertest.mm
|
View
|
1
|
4 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller_unittest.mm
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.mm
|
View
|
1
2
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/device_permissions_dialog_controller.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/login_prompt_cocoa.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/profiles/user_manager_mac.mm
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm
|
View
|
1
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/tab_modal_confirm_dialog_mac.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/web_contents_modal_dialog_manager_views_mac.mm
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h
|
View
|
1
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/constrained_web_dialog_ui.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/constrained_web_dialog_ui_browsertest.cc
|
View
|
2
|
6 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
Total messages: 63 (41 generated)
|