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

Unified Diff: chrome/browser/ui/views/crypto_module_password_dialog_view.h

Issue 680133002: Standardize usage of virtual/override/final specifiers. (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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/crypto_module_password_dialog_view.h
diff --git a/chrome/browser/ui/views/crypto_module_password_dialog_view.h b/chrome/browser/ui/views/crypto_module_password_dialog_view.h
index 68ff38264a3eceadb063705d49136b91f9cb8b11..eb243fb16a57c3b90e98bd9f7cf7abc2b34a7a9c 100644
--- a/chrome/browser/ui/views/crypto_module_password_dialog_view.h
+++ b/chrome/browser/ui/views/crypto_module_password_dialog_view.h
@@ -28,27 +28,26 @@ class CryptoModulePasswordDialogView : public views::DialogDelegateView,
const std::string& server,
const CryptoModulePasswordCallback& callback);
- virtual ~CryptoModulePasswordDialogView();
+ ~CryptoModulePasswordDialogView() override;
private:
FRIEND_TEST_ALL_PREFIXES(CryptoModulePasswordDialogViewTest, TestAccept);
// views::WidgetDelegate:
- virtual views::View* GetInitiallyFocusedView() override;
- virtual ui::ModalType GetModalType() const override;
- virtual base::string16 GetWindowTitle() const override;
+ views::View* GetInitiallyFocusedView() override;
+ ui::ModalType GetModalType() const override;
+ base::string16 GetWindowTitle() const override;
// views::DialogDelegate:
- virtual base::string16 GetDialogButtonLabel(
- ui::DialogButton button) const override;
- virtual bool Cancel() override;
- virtual bool Accept() override;
+ base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
+ bool Cancel() override;
+ bool Accept() override;
// views::TextfieldController:
- virtual void ContentsChanged(views::Textfield* sender,
- const base::string16& new_contents) override;
- virtual bool HandleKeyEvent(views::Textfield* sender,
- const ui::KeyEvent& keystroke) override;
+ void ContentsChanged(views::Textfield* sender,
+ const base::string16& new_contents) override;
+ bool HandleKeyEvent(views::Textfield* sender,
+ const ui::KeyEvent& keystroke) override;
// Initialize views and layout.
void Init(const std::string& server,

Powered by Google App Engine
This is Rietveld 408576698