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_AUTOFILL_AUTOFILL_FEEDBACK_INFOBAR_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_FEEDBACK_INFOBAR_DELEGATE_H_ |
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_FEEDBACK_INFOBAR_DELEGATE_H_ | 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_FEEDBACK_INFOBAR_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
11 #include "chrome/browser/tab_contents/link_infobar_delegate.h" | 11 #include "chrome/browser/tab_contents/link_infobar_delegate.h" |
12 #include "webkit/glue/window_open_disposition.h" | 12 #include "webkit/glue/window_open_disposition.h" |
13 | 13 |
14 class NotificationType; | |
15 class TabContents; | 14 class TabContents; |
16 | 15 |
17 // An InfoBar delegate that prompts the user to provide additional feedback for | 16 // An InfoBar delegate that prompts the user to provide additional feedback for |
18 // the Autofill developers. | 17 // the Autofill developers. |
19 class AutofillFeedbackInfoBarDelegate : public LinkInfoBarDelegate { | 18 class AutofillFeedbackInfoBarDelegate : public LinkInfoBarDelegate { |
20 public: | 19 public: |
21 AutofillFeedbackInfoBarDelegate(TabContents* tab_contents, | 20 AutofillFeedbackInfoBarDelegate(TabContents* tab_contents, |
22 const string16& message, | 21 const string16& message, |
23 const string16& link_text, | 22 const string16& link_text, |
24 const std::string& feedback_message); | 23 const std::string& feedback_message); |
(...skipping 15 matching lines...) Expand all Loading... |
40 // The default feedback message, which can be edited by the user prior to | 39 // The default feedback message, which can be edited by the user prior to |
41 // submission. | 40 // submission. |
42 const std::string feedback_message_; | 41 const std::string feedback_message_; |
43 | 42 |
44 bool link_clicked_; | 43 bool link_clicked_; |
45 | 44 |
46 DISALLOW_COPY_AND_ASSIGN(AutofillFeedbackInfoBarDelegate); | 45 DISALLOW_COPY_AND_ASSIGN(AutofillFeedbackInfoBarDelegate); |
47 }; | 46 }; |
48 | 47 |
49 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_FEEDBACK_INFOBAR_DELEGATE_H_ | 48 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_FEEDBACK_INFOBAR_DELEGATE_H_ |
OLD | NEW |