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

Side by Side Diff: chrome/browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.h

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_UI_COCOA_INFOBARS_MOCK_CONFIRM_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_INFOBARS_MOCK_CONFIRM_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_MOCK_CONFIRM_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_MOCK_CONFIRM_INFOBAR_DELEGATE_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/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 18 matching lines...) Expand all
29 bool message_text_accessed() const { return message_text_accessed_; } 29 bool message_text_accessed() const { return message_text_accessed_; }
30 bool link_text_accessed() const { return link_text_accessed_; } 30 bool link_text_accessed() const { return link_text_accessed_; }
31 bool ok_clicked() const { return ok_clicked_; } 31 bool ok_clicked() const { return ok_clicked_; }
32 bool cancel_clicked() const { return cancel_clicked_; } 32 bool cancel_clicked() const { return cancel_clicked_; }
33 bool link_clicked() const { return link_clicked_; } 33 bool link_clicked() const { return link_clicked_; }
34 34
35 static const char kMessage[]; 35 static const char kMessage[];
36 36
37 private: 37 private:
38 // ConfirmInfoBarDelegate: 38 // ConfirmInfoBarDelegate:
39 virtual int GetIconID() const OVERRIDE; 39 virtual int GetIconID() const override;
40 virtual base::string16 GetMessageText() const OVERRIDE; 40 virtual base::string16 GetMessageText() const override;
41 virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; 41 virtual base::string16 GetButtonLabel(InfoBarButton button) const override;
42 virtual bool Accept() OVERRIDE; 42 virtual bool Accept() override;
43 virtual bool Cancel() OVERRIDE; 43 virtual bool Cancel() override;
44 virtual base::string16 GetLinkText() const OVERRIDE; 44 virtual base::string16 GetLinkText() const override;
45 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; 45 virtual bool LinkClicked(WindowOpenDisposition disposition) override;
46 46
47 Owner* owner_; 47 Owner* owner_;
48 // Determines whether the infobar closes when an action is taken or not. 48 // Determines whether the infobar closes when an action is taken or not.
49 bool closes_on_action_; 49 bool closes_on_action_;
50 mutable bool icon_accessed_; 50 mutable bool icon_accessed_;
51 mutable bool message_text_accessed_; 51 mutable bool message_text_accessed_;
52 mutable bool link_text_accessed_; 52 mutable bool link_text_accessed_;
53 bool ok_clicked_; 53 bool ok_clicked_;
54 bool cancel_clicked_; 54 bool cancel_clicked_;
55 bool link_clicked_; 55 bool link_clicked_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(MockConfirmInfoBarDelegate); 57 DISALLOW_COPY_AND_ASSIGN(MockConfirmInfoBarDelegate);
58 }; 58 };
59 59
60 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_MOCK_CONFIRM_INFOBAR_DELEGATE_H_ 60 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_MOCK_CONFIRM_INFOBAR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698