| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "chrome/browser/tab_contents/infobar_delegate.h" | 5 #include "chrome/browser/tab_contents/infobar_delegate.h" |
| 6 | 6 |
| 7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 const char kMockAlertInfoBarMessage[] = "MockAlertInfoBarMessage"; | 10 const char kMockAlertInfoBarMessage[] = "MockAlertInfoBarMessage"; |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 mutable bool link_text_accessed; | 156 mutable bool link_text_accessed; |
| 157 mutable bool icon_accessed; | 157 mutable bool icon_accessed; |
| 158 bool ok_clicked; | 158 bool ok_clicked; |
| 159 bool cancel_clicked; | 159 bool cancel_clicked; |
| 160 bool link_clicked; | 160 bool link_clicked; |
| 161 bool closed; | 161 bool closed; |
| 162 | 162 |
| 163 // Determines whether the infobar closes when an action is taken or not. | 163 // Determines whether the infobar closes when an action is taken or not. |
| 164 bool closes_on_action; | 164 bool closes_on_action; |
| 165 }; | 165 }; |
| OLD | NEW |