public content::WebContentsObserver,
public content::WebContentsUserData<WebContentsModalDialogManager> {
public:
- virtual ~WebContentsModalDialogManager();
+ ~WebContentsModalDialogManager() override;
WebContentsModalDialogManagerDelegate* delegate() const { return delegate_; }
void SetDelegate(WebContentsModalDialogManagerDelegate* d);
void FocusTopmostDialog() const;
// SingleWebContentsDialogManagerDelegate:
- virtual content::WebContents* GetWebContents() const OVERRIDE;
- virtual void WillClose(NativeWebContentsModalDialog dialog) OVERRIDE;
+ content::WebContents* GetWebContents() const override;
+ void WillClose(NativeWebContentsModalDialog dialog) override;
// For testing.
class TestApi {
void CloseAllDialogs();
// Overridden from content::WebContentsObserver:
- virtual void DidNavigateMainFrame(
+ void DidNavigateMainFrame(
const content::LoadCommittedDetails& details,
- const content::FrameNavigateParams& params) OVERRIDE;
- virtual void DidGetIgnoredUIEvent() OVERRIDE;
- virtual void WasShown() OVERRIDE;
- virtual void WasHidden() OVERRIDE;
- virtual void WebContentsDestroyed() OVERRIDE;
- virtual void DidAttachInterstitialPage() OVERRIDE;
+ const content::FrameNavigateParams& params) override;
+ void DidGetIgnoredUIEvent() override;
+ void WasShown() override;
+ void WasHidden() override;
+ void WebContentsDestroyed() override;
+ void DidAttachInterstitialPage() override;
// Delegate for notifying our owner about stuff. Not owned by us.
WebContentsModalDialogManagerDelegate* delegate_;