OLD | NEW |
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 23 matching lines...) Expand all Loading... |
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 virtual ~InsecureContentInfoBarDelegate(); |
42 | 42 |
43 // ConfirmInfoBarDelegate: | 43 // ConfirmInfoBarDelegate: |
44 virtual void InfoBarDismissed() OVERRIDE; | 44 virtual void InfoBarDismissed() override; |
45 virtual InsecureContentInfoBarDelegate* | 45 virtual InsecureContentInfoBarDelegate* |
46 AsInsecureContentInfoBarDelegate() OVERRIDE; | 46 AsInsecureContentInfoBarDelegate() override; |
47 virtual base::string16 GetMessageText() const OVERRIDE; | 47 virtual base::string16 GetMessageText() const override; |
48 virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; | 48 virtual base::string16 GetButtonLabel(InfoBarButton button) const override; |
49 virtual bool Accept() OVERRIDE; | 49 virtual bool Accept() override; |
50 virtual bool Cancel() OVERRIDE; | 50 virtual bool Cancel() override; |
51 virtual base::string16 GetLinkText() const OVERRIDE; | 51 virtual base::string16 GetLinkText() const override; |
52 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; | 52 virtual bool LinkClicked(WindowOpenDisposition disposition) override; |
53 | 53 |
54 InfoBarType type_; | 54 InfoBarType type_; |
55 | 55 |
56 DISALLOW_IMPLICIT_CONSTRUCTORS(InsecureContentInfoBarDelegate); | 56 DISALLOW_IMPLICIT_CONSTRUCTORS(InsecureContentInfoBarDelegate); |
57 }; | 57 }; |
58 | 58 |
59 #endif // CHROME_BROWSER_INFOBARS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_ | 59 #endif // CHROME_BROWSER_INFOBARS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_ |
60 | 60 |
OLD | NEW |