| 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 73ebbfe3bd25419731f350548318eb793fa2072c..925a6dd69f88dc3e59408396926b0253ca8e71db 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
|
| @@ -25,31 +25,31 @@ class MockPasswordGenerationPopupController
|
| : help_text_(base::ASCIIToUTF16("Help me if you can I'm feeling dooown")),
|
| popup_bounds_(gfx::Rect(0, 0, 200, 100)) {}
|
|
|
| - virtual void OnSavedPasswordsLinkClicked() OVERRIDE {}
|
| + virtual void OnSavedPasswordsLinkClicked() override {}
|
|
|
| - virtual int GetMinimumWidth() OVERRIDE { return 200; }
|
| + virtual int GetMinimumWidth() override { return 200; }
|
|
|
| - virtual bool display_password() const OVERRIDE { return true; }
|
| + virtual bool display_password() const override { return true; }
|
|
|
| - virtual bool password_selected() const OVERRIDE { return false; }
|
| + virtual bool password_selected() const override { return false; }
|
|
|
| MOCK_CONST_METHOD0(password, base::string16());
|
|
|
| - virtual base::string16 SuggestedText() OVERRIDE {
|
| + virtual base::string16 SuggestedText() override {
|
| return base::ASCIIToUTF16("Suggested by Chrome");
|
| }
|
|
|
| - virtual const base::string16& HelpText() OVERRIDE { return help_text_; }
|
| + virtual const base::string16& HelpText() override { return help_text_; }
|
|
|
| - virtual const gfx::Range& HelpTextLinkRange() OVERRIDE { return link_range_; }
|
| + virtual const gfx::Range& HelpTextLinkRange() override { return link_range_; }
|
|
|
| // AutofillPopupViewDelegate implementation.
|
| - virtual void Hide() OVERRIDE {}
|
| + virtual 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 {
|
| + 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 {
|
| return popup_bounds_;
|
| }
|
| MOCK_METHOD0(container_view, gfx::NativeView());
|
| @@ -69,7 +69,7 @@ class PasswordGenerationPopupViewCocoaTest : public CocoaTest {
|
| : password_(base::ASCIIToUTF16("wow! such password"))
|
| {}
|
|
|
| - virtual void SetUp() OVERRIDE {
|
| + virtual void SetUp() override {
|
| mock_controller_.reset(new MockPasswordGenerationPopupController);
|
| EXPECT_CALL(*mock_controller_, password())
|
| .WillRepeatedly(Return(password_));
|
|
|