| Index: chrome/browser/ui/views/create_application_shortcut_view.h
|
| diff --git a/chrome/browser/ui/views/create_application_shortcut_view.h b/chrome/browser/ui/views/create_application_shortcut_view.h
|
| index bdbd233b5d2527687eb04a8ff2f78ef8b478601f..d97a9e6e35327cf55803919143aa5c11b627150f 100644
|
| --- a/chrome/browser/ui/views/create_application_shortcut_view.h
|
| +++ b/chrome/browser/ui/views/create_application_shortcut_view.h
|
| @@ -52,25 +52,23 @@ class CreateApplicationShortcutView : public views::DialogDelegateView,
|
| };
|
|
|
| explicit CreateApplicationShortcutView(Profile* profile);
|
| - virtual ~CreateApplicationShortcutView();
|
| + ~CreateApplicationShortcutView() override;
|
|
|
| // Initialize the controls on the dialog.
|
| void InitControls(DialogLayout dialog_layout);
|
|
|
| // Overridden from views::View:
|
| - virtual gfx::Size GetPreferredSize() const override;
|
| + gfx::Size GetPreferredSize() const override;
|
|
|
| // Overridden from views::DialogDelegate:
|
| - virtual base::string16 GetDialogButtonLabel(
|
| - ui::DialogButton button) const override;
|
| - virtual bool IsDialogButtonEnabled(ui::DialogButton button) const override;
|
| - virtual ui::ModalType GetModalType() const override;
|
| - virtual base::string16 GetWindowTitle() const override;
|
| - virtual bool Accept() override;
|
| + base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
|
| + bool IsDialogButtonEnabled(ui::DialogButton button) const override;
|
| + ui::ModalType GetModalType() const override;
|
| + base::string16 GetWindowTitle() const override;
|
| + bool Accept() override;
|
|
|
| // Overridden from views::ButtonListener:
|
| - virtual void ButtonPressed(views::Button* sender,
|
| - const ui::Event& event) override;
|
| + void ButtonPressed(views::Button* sender, const ui::Event& event) override;
|
|
|
| protected:
|
| // Adds a new check-box as a child to the view.
|
| @@ -100,9 +98,9 @@ class CreateApplicationShortcutView : public views::DialogDelegateView,
|
| class CreateUrlApplicationShortcutView : public CreateApplicationShortcutView {
|
| public:
|
| explicit CreateUrlApplicationShortcutView(content::WebContents* web_contents);
|
| - virtual ~CreateUrlApplicationShortcutView();
|
| + ~CreateUrlApplicationShortcutView() override;
|
|
|
| - virtual bool Accept() override;
|
| + bool Accept() override;
|
|
|
| private:
|
| // Fetch the largest unprocessed icon.
|
| @@ -140,9 +138,9 @@ class CreateChromeApplicationShortcutView
|
| Profile* profile,
|
| const extensions::Extension* app,
|
| const base::Callback<void(bool)>& close_callback);
|
| - virtual ~CreateChromeApplicationShortcutView();
|
| - virtual bool Accept() override;
|
| - virtual bool Cancel() override;
|
| + ~CreateChromeApplicationShortcutView() override;
|
| + bool Accept() override;
|
| + bool Cancel() override;
|
|
|
| private:
|
| // Called when the app's ShortcutInfo (with icon) and FileHandlersInfo is
|
|
|