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_TAB_CONTENTS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" | 9 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 RUN_USER_OVERRIDE, | 33 RUN_USER_OVERRIDE, |
34 RUN_USER_DID_NOT_LOAD, | 34 RUN_USER_DID_NOT_LOAD, |
35 RUN_INFOBAR_DISMISSED, | 35 RUN_INFOBAR_DISMISSED, |
36 NUM_EVENTS | 36 NUM_EVENTS |
37 }; | 37 }; |
38 | 38 |
39 // ConfirmInfoBarDelegate: | 39 // ConfirmInfoBarDelegate: |
40 virtual void InfoBarDismissed() OVERRIDE; | 40 virtual void InfoBarDismissed() OVERRIDE; |
41 virtual InsecureContentInfoBarDelegate* | 41 virtual InsecureContentInfoBarDelegate* |
42 AsInsecureContentInfoBarDelegate() OVERRIDE; | 42 AsInsecureContentInfoBarDelegate() OVERRIDE; |
43 virtual string16 GetMessageText() const; | 43 virtual string16 GetMessageText() const OVERRIDE; |
44 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; | 44 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; |
45 virtual bool Accept() OVERRIDE; | 45 virtual bool Accept() OVERRIDE; |
46 virtual bool Cancel() OVERRIDE; | 46 virtual bool Cancel() OVERRIDE; |
47 virtual string16 GetLinkText() const OVERRIDE; | 47 virtual string16 GetLinkText() const OVERRIDE; |
48 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; | 48 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; |
49 | 49 |
50 InfoBarType type_; | 50 InfoBarType type_; |
51 | 51 |
52 DISALLOW_IMPLICIT_CONSTRUCTORS(InsecureContentInfoBarDelegate); | 52 DISALLOW_IMPLICIT_CONSTRUCTORS(InsecureContentInfoBarDelegate); |
53 }; | 53 }; |
54 | 54 |
55 #endif // CHROME_BROWSER_TAB_CONTENTS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_ | 55 #endif // CHROME_BROWSER_TAB_CONTENTS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_ |
56 | 56 |
OLD | NEW |