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