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

Unified Diff: chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa_unittest.mm

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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/cocoa/autofill/password_generation_popup_view_cocoa_unittest.mm
diff --git a/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa_unittest.mm b/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa_unittest.mm
index 37fa729be0da08e6ab1c415abf529689c56c614b..2c5212cc6a2a46738ee16f6cf3fd97570d19631a 100644
--- a/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa_unittest.mm
+++ b/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa_unittest.mm
@@ -28,31 +28,31 @@ class MockPasswordGenerationPopupController
MOCK_METHOD0(PasswordAccepted, void());
- virtual void OnSavedPasswordsLinkClicked() override {}
+ void OnSavedPasswordsLinkClicked() override {}
- virtual int GetMinimumWidth() override { return 200; }
+ int GetMinimumWidth() override { return 200; }
- virtual bool display_password() const override { return true; }
+ bool display_password() const override { return true; }
- virtual bool password_selected() const override { return false; }
+ bool password_selected() const override { return false; }
MOCK_CONST_METHOD0(password, base::string16());
- virtual base::string16 SuggestedText() override {
+ base::string16 SuggestedText() override {
return base::ASCIIToUTF16("Suggested by Chrome");
}
- virtual const base::string16& HelpText() override { return help_text_; }
+ const base::string16& HelpText() override { return help_text_; }
- virtual const gfx::Range& HelpTextLinkRange() override { return link_range_; }
+ const gfx::Range& HelpTextLinkRange() override { return link_range_; }
// AutofillPopupViewDelegate implementation.
- virtual void Hide() override {}
+ void Hide() override {}
MOCK_METHOD0(ViewDestroyed, void());
- virtual void SetSelectionAtPoint(const gfx::Point&) override {}
- virtual bool AcceptSelectedLine() override { return true; }
- virtual void SelectionCleared() override {}
- virtual const gfx::Rect& popup_bounds() const override {
+ void SetSelectionAtPoint(const gfx::Point&) override {}
+ bool AcceptSelectedLine() override { return true; }
+ void SelectionCleared() override {}
+ const gfx::Rect& popup_bounds() const override {
return popup_bounds_;
}
MOCK_METHOD0(container_view, gfx::NativeView());

Powered by Google App Engine
This is Rietveld 408576698