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

Side by Side Diff: chrome/browser/infobars/insecure_content_infobar_delegate.h

Issue 648653003: Standardize usage of virtual/override/final in chrome/browser/ (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_INFOBARS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_INFOBARS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_INFOBARS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_INFOBARS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_
7 7
8 #include "components/infobars/core/confirm_infobar_delegate.h" 8 #include "components/infobars/core/confirm_infobar_delegate.h"
9 9
10 class InfoBarService; 10 class InfoBarService;
(...skipping 20 matching lines...) Expand all
31 DISPLAY_USER_DID_NOT_LOAD, // User clicked the don't load button. 31 DISPLAY_USER_DID_NOT_LOAD, // User clicked the don't load button.
32 DISPLAY_INFOBAR_DISMISSED, // User clicked close button. 32 DISPLAY_INFOBAR_DISMISSED, // User clicked close button.
33 RUN_INFOBAR_SHOWN, 33 RUN_INFOBAR_SHOWN,
34 RUN_USER_OVERRIDE, 34 RUN_USER_OVERRIDE,
35 RUN_USER_DID_NOT_LOAD, 35 RUN_USER_DID_NOT_LOAD,
36 RUN_INFOBAR_DISMISSED, 36 RUN_INFOBAR_DISMISSED,
37 NUM_EVENTS 37 NUM_EVENTS
38 }; 38 };
39 39
40 explicit InsecureContentInfoBarDelegate(InfoBarType type); 40 explicit InsecureContentInfoBarDelegate(InfoBarType type);
41 virtual ~InsecureContentInfoBarDelegate(); 41 ~InsecureContentInfoBarDelegate() override;
42 42
43 // ConfirmInfoBarDelegate: 43 // ConfirmInfoBarDelegate:
44 virtual void InfoBarDismissed() override; 44 void InfoBarDismissed() override;
45 virtual InsecureContentInfoBarDelegate* 45 InsecureContentInfoBarDelegate* AsInsecureContentInfoBarDelegate() override;
46 AsInsecureContentInfoBarDelegate() override; 46 base::string16 GetMessageText() const override;
47 virtual base::string16 GetMessageText() const override; 47 base::string16 GetButtonLabel(InfoBarButton button) const override;
48 virtual base::string16 GetButtonLabel(InfoBarButton button) const override; 48 bool Accept() override;
49 virtual bool Accept() override; 49 bool Cancel() override;
50 virtual bool Cancel() override; 50 base::string16 GetLinkText() const override;
51 virtual base::string16 GetLinkText() const override; 51 bool LinkClicked(WindowOpenDisposition disposition) override;
52 virtual bool LinkClicked(WindowOpenDisposition disposition) override;
53 52
54 InfoBarType type_; 53 InfoBarType type_;
55 54
56 DISALLOW_IMPLICIT_CONSTRUCTORS(InsecureContentInfoBarDelegate); 55 DISALLOW_IMPLICIT_CONSTRUCTORS(InsecureContentInfoBarDelegate);
57 }; 56 };
58 57
59 #endif // CHROME_BROWSER_INFOBARS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_ 58 #endif // CHROME_BROWSER_INFOBARS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_
60 59
OLDNEW
« no previous file with comments | « chrome/browser/infobars/infobar_service.h ('k') | chrome/browser/infobars/simple_alert_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698