cbui: remove more GetDialogButtonLabel overrides
This CL removes overrides from: * AppUninstallDialogView, which uses text that is computed during the constructor (and used redundant cancel text) * DataRemovalConfirmationDialog, which uses static text * DownloadInProgressDialogView, which uses static text * Various NativeFileSystem dialogs, which use static text or text computed during the constructor & then never changed This change also makes NativeFileSystemRestrictedDirectoryDialogView::is_directory_ const to make the code easier to reason about. Bug: 1011446 Change-Id: Ib345c6f742b860a9041a9df21e003f802fe5648d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1863632Reviewed-by:Peter Boström <pbos@chromium.org> Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#706430}
Showing
Please register or sign in to comment