• Elly Fong-Jones's avatar
    ash: stop overriding DialogDelegate closure hooks · 638fb03e
    Elly Fong-Jones authored
    This change updates:
    * AcceleratorConfirmationDialog, to pass the provided callbacks
      directly to DialogDelegate
    * RemoveQueryConfirmationDialog, to use inline callback lambdas
      instead of overrides
    * MultiprofilesIntroDialog, to use inline callback lambdas
    * SessionAbortedDialog, to use an inline callback lambda
    * TeleportWarningDialog, to use inline callback lambdas
    * AccessibilityFeatureDisableDialog, to pass the provided callbacks
      directly to DialogDelegate
    * ScreenSwitchCheckController, to use private callback methods
    * LogoutConfirmationDialog, to use a private callback method
    * ShutdownConfirmationDialog, to pass the provided callbacks
      directly to DialogDelegate
    
    Bug: 1011446
    Change-Id: Ib2608d8f9095335d1a00fea3b498cd7c29c23d3b
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2047413
    Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#741316}
    638fb03e
teleport_warning_dialog.h 1.42 KB