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

Side by Side Diff: ash/system/chromeos/session/logout_confirmation_dialog.h

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SYSTEM_CHROMEOS_SESSION_LOGOUT_CONFIRMATION_DIALOG_H_ 5 #ifndef ASH_SYSTEM_CHROMEOS_SESSION_LOGOUT_CONFIRMATION_DIALOG_H_
6 #define ASH_SYSTEM_CHROMEOS_SESSION_LOGOUT_CONFIRMATION_DIALOG_H_ 6 #define ASH_SYSTEM_CHROMEOS_SESSION_LOGOUT_CONFIRMATION_DIALOG_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 13 matching lines...) Expand all
24 // choice is made before the countdown has expired. 24 // choice is made before the countdown has expired.
25 class LogoutConfirmationDialog : public views::DialogDelegateView { 25 class LogoutConfirmationDialog : public views::DialogDelegateView {
26 public: 26 public:
27 LogoutConfirmationDialog(LogoutConfirmationController* controller, 27 LogoutConfirmationDialog(LogoutConfirmationController* controller,
28 base::TimeTicks logout_time); 28 base::TimeTicks logout_time);
29 virtual ~LogoutConfirmationDialog(); 29 virtual ~LogoutConfirmationDialog();
30 30
31 void Update(base::TimeTicks logout_time); 31 void Update(base::TimeTicks logout_time);
32 32
33 // views::DialogDelegateView: 33 // views::DialogDelegateView:
34 virtual bool Accept() OVERRIDE; 34 virtual bool Accept() override;
35 virtual ui::ModalType GetModalType() const OVERRIDE; 35 virtual ui::ModalType GetModalType() const override;
36 virtual base::string16 GetWindowTitle() const OVERRIDE; 36 virtual base::string16 GetWindowTitle() const override;
37 virtual base::string16 GetDialogButtonLabel(ui::DialogButton button) const 37 virtual base::string16 GetDialogButtonLabel(ui::DialogButton button) const
38 OVERRIDE; 38 override;
39 virtual void OnClosed() OVERRIDE; 39 virtual void OnClosed() override;
40 virtual void DeleteDelegate() OVERRIDE; 40 virtual void DeleteDelegate() override;
41 41
42 private: 42 private:
43 void UpdateLabel(); 43 void UpdateLabel();
44 44
45 LogoutConfirmationController* controller_; 45 LogoutConfirmationController* controller_;
46 base::TimeTicks logout_time_; 46 base::TimeTicks logout_time_;
47 47
48 views::Label* label_; 48 views::Label* label_;
49 49
50 base::RepeatingTimer<LogoutConfirmationDialog> update_timer_; 50 base::RepeatingTimer<LogoutConfirmationDialog> update_timer_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(LogoutConfirmationDialog); 52 DISALLOW_COPY_AND_ASSIGN(LogoutConfirmationDialog);
53 }; 53 };
54 54
55 } // namespace ash 55 } // namespace ash
56 56
57 #endif // ASH_SYSTEM_CHROMEOS_SESSION_LOGOUT_CONFIRMATION_DIALOG_H_ 57 #endif // ASH_SYSTEM_CHROMEOS_SESSION_LOGOUT_CONFIRMATION_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698