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

Unified Diff: ash/system/chromeos/multi_user/user_switch_util.cc

Issue 800983006: Update {virtual,override,final} to follow C++11 style in ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Workaround 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
« no previous file with comments | « ash/system/chromeos/label_tray_view.h ('k') | ash/system/chromeos/multi_user/user_switch_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/multi_user/user_switch_util.cc
diff --git a/ash/system/chromeos/multi_user/user_switch_util.cc b/ash/system/chromeos/multi_user/user_switch_util.cc
index 486966be36952c20462c02bc14e44510527038c5..a5fb6e2f76661df60e4abfb11b8e6c8f72f983d0 100644
--- a/ash/system/chromeos/multi_user/user_switch_util.cc
+++ b/ash/system/chromeos/multi_user/user_switch_util.cc
@@ -32,22 +32,21 @@ const int kTopInset = 10;
class DesktopCastingWarningView : public views::DialogDelegateView {
public:
DesktopCastingWarningView(base::Callback<void()> on_accept);
- virtual ~DesktopCastingWarningView();
+ ~DesktopCastingWarningView() override;
static void ShowDialog(const base::Callback<void()> on_accept);
// views::DialogDelegate overrides.
- virtual bool Accept() override;
- virtual base::string16 GetDialogButtonLabel(
- ui::DialogButton button) const override;
- virtual bool IsDialogButtonEnabled(ui::DialogButton button) const override;
- virtual int GetDefaultDialogButton() const override;
+ bool Accept() override;
+ base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
+ bool IsDialogButtonEnabled(ui::DialogButton button) const override;
+ int GetDefaultDialogButton() const override;
// views::WidgetDelegate overrides.
- virtual ui::ModalType GetModalType() const override;
+ ui::ModalType GetModalType() const override;
// views::View overrides.
- virtual gfx::Size GetPreferredSize() const override;
+ gfx::Size GetPreferredSize() const override;
private:
void InitDialog();
« no previous file with comments | « ash/system/chromeos/label_tray_view.h ('k') | ash/system/chromeos/multi_user/user_switch_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698