Chromium Code Reviews
DescriptionPlace browser-modal dialogs like web-contents-modal dialogs.
Add CreateBrowserModalDialogViews for browser-modal dialogs.
Places dialogs with browser window parents dialog like wcmds.
(somewhat parallel to CreateWebContentsModalDialogViews)
See example before/after pics at: http://crbug.com/246777#c8
Update all applicable dialogs with the new call.
Remove now extraneous JS dialog placement code.
TODO(followup): Similar for c/b/chromeos dialogs (violates DEPS):
-chrome/browser/chromeos/enrollment_dialog_view.cc
-chrome/browser/chromeos/external_protocol_dialog.cc
-chrome/browser/chromeos/options/network_config_view.cc
-chrome/browser/chromeos/ui/echo_dialog_view.cc
BUG=166075, 246777
TEST=Browser-modal dialogs are placed top-aligned to their browser.
R=wittman@chromium.org,sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=205718
Patch Set 1 #Patch Set 2 : Cleanup and fix coordinate translation. #Patch Set 3 : Apply the positioning to all applicable dialogs. #Patch Set 4 : Fixes and cleanup. #
Total comments: 2
Patch Set 5 : Add missing test include. #Patch Set 6 : Revert changes to c/b/chromeos files for now. #Messages
Total messages: 9 (0 generated)
|