| Index: ui/web_dialogs/web_dialog_web_contents_delegate.h
|
| diff --git a/ui/web_dialogs/web_dialog_web_contents_delegate.h b/ui/web_dialogs/web_dialog_web_contents_delegate.h
|
| index d5ed7251cd59176d07124103772a539a60ad973f..00f9aa4ef96c8d384bb3506e4b11a8d3a9fdc81d 100644
|
| --- a/ui/web_dialogs/web_dialog_web_contents_delegate.h
|
| +++ b/ui/web_dialogs/web_dialog_web_contents_delegate.h
|
| @@ -40,7 +40,7 @@ class WEB_DIALOGS_EXPORT WebDialogWebContentsDelegate
|
| WebDialogWebContentsDelegate(content::BrowserContext* context,
|
| WebContentsHandler* handler);
|
|
|
| - virtual ~WebDialogWebContentsDelegate();
|
| + ~WebDialogWebContentsDelegate() override;
|
|
|
| // The returned browser context is guaranteed to be original if non-NULL.
|
| content::BrowserContext* browser_context() const {
|
| @@ -53,20 +53,18 @@ class WEB_DIALOGS_EXPORT WebDialogWebContentsDelegate
|
| void Detach();
|
|
|
| // content::WebContentsDelegate declarations.
|
| - virtual content::WebContents* OpenURLFromTab(
|
| + content::WebContents* OpenURLFromTab(
|
| content::WebContents* source,
|
| const content::OpenURLParams& params) override;
|
| - virtual void AddNewContents(content::WebContents* source,
|
| - content::WebContents* new_contents,
|
| - WindowOpenDisposition disposition,
|
| - const gfx::Rect& initial_pos,
|
| - bool user_gesture,
|
| - bool* was_blocked) override;
|
| - virtual bool IsPopupOrPanel(
|
| - const content::WebContents* source) const override;
|
| - virtual bool PreHandleGestureEvent(
|
| - content::WebContents* source,
|
| - const blink::WebGestureEvent& event) override;
|
| + void AddNewContents(content::WebContents* source,
|
| + content::WebContents* new_contents,
|
| + WindowOpenDisposition disposition,
|
| + const gfx::Rect& initial_pos,
|
| + bool user_gesture,
|
| + bool* was_blocked) override;
|
| + bool IsPopupOrPanel(const content::WebContents* source) const override;
|
| + bool PreHandleGestureEvent(content::WebContents* source,
|
| + const blink::WebGestureEvent& event) override;
|
|
|
| private:
|
| // Weak pointer. Always an original profile.
|
|
|