Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3662)

Unified Diff: chrome/browser/chromeos/ui/echo_dialog_view.h

Issue 854053002: Update {virtual,override,final} to follow C++11 style in chrome/browser/chromeos/ui. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/ui/echo_dialog_view.h
diff --git a/chrome/browser/chromeos/ui/echo_dialog_view.h b/chrome/browser/chromeos/ui/echo_dialog_view.h
index a9ab789cf6ef1fbcaa5b17b75228518506ae719f..85f29b13236a456ca2ef5daffc00082612e368ed 100644
--- a/chrome/browser/chromeos/ui/echo_dialog_view.h
+++ b/chrome/browser/chromeos/ui/echo_dialog_view.h
@@ -27,7 +27,7 @@ class EchoDialogView : public views::DialogDelegateView,
public views::StyledLabelListener {
public:
explicit EchoDialogView(EchoDialogListener* listener);
- virtual ~EchoDialogView();
+ ~EchoDialogView() override;
// Initializes dialog layout that will be showed when echo extension is
// allowed to redeem offers. |service_name| is the name of the service that
@@ -50,24 +50,23 @@ class EchoDialogView : public views::DialogDelegateView,
friend class ExtensionEchoPrivateApiTest;
// views::DialogDelegate overrides.
- virtual int GetDialogButtons() const override;
- virtual int GetDefaultDialogButton() const override;
- virtual base::string16 GetDialogButtonLabel(
- ui::DialogButton button) const override;
- virtual bool Cancel() override;
- virtual bool Accept() override;
+ int GetDialogButtons() const override;
+ int GetDefaultDialogButton() const override;
+ base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
+ bool Cancel() override;
+ bool Accept() override;
// views::WidgetDelegate overrides.
- virtual ui::ModalType GetModalType() const override;
- virtual bool ShouldShowWindowTitle() const override;
- virtual bool ShouldShowWindowIcon() const override;
+ ui::ModalType GetModalType() const override;
+ bool ShouldShowWindowTitle() const override;
+ bool ShouldShowWindowIcon() const override;
// views::LinkListener override.
- virtual void StyledLabelLinkClicked(const gfx::Range& range,
- int event_flags) override;
+ void StyledLabelLinkClicked(const gfx::Range& range,
+ int event_flags) override;
// views::View override.
- virtual gfx::Size GetPreferredSize() const override;
+ gfx::Size GetPreferredSize() const override;
// Sets the border and bounds for the styled label containing the dialog
// text.
« no previous file with comments | « chrome/browser/chromeos/ui/choose_mobile_network_dialog.h ('k') | chrome/browser/chromeos/ui/focus_ring_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698