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 #include "chrome/browser/tab_contents/infobar_delegate.h" | 5 #include "content/browser/tab_contents/infobar_delegate.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/browser/tab_contents/navigation_entry.h" | 9 #include "content/browser/tab_contents/navigation_entry.h" |
10 #include "chrome/browser/tab_contents/navigation_controller.h" | 10 #include "content/browser/tab_contents/navigation_controller.h" |
11 #include "chrome/browser/tab_contents/tab_contents.h" | 11 #include "content/browser/tab_contents/tab_contents.h" |
12 #include "grit/generated_resources.h" | 12 #include "grit/generated_resources.h" |
13 #include "ui/base/l10n/l10n_util.h" | 13 #include "ui/base/l10n/l10n_util.h" |
14 | 14 |
15 // InfoBarDelegate ------------------------------------------------------------ | 15 // InfoBarDelegate ------------------------------------------------------------ |
16 | 16 |
17 InfoBarDelegate::~InfoBarDelegate() { | 17 InfoBarDelegate::~InfoBarDelegate() { |
18 } | 18 } |
19 | 19 |
20 bool InfoBarDelegate::EqualsDelegate(InfoBarDelegate* delegate) const { | 20 bool InfoBarDelegate::EqualsDelegate(InfoBarDelegate* delegate) const { |
21 return false; | 21 return false; |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 return icon_; | 187 return icon_; |
188 } | 188 } |
189 | 189 |
190 string16 SimpleAlertInfoBarDelegate::GetMessageText() const { | 190 string16 SimpleAlertInfoBarDelegate::GetMessageText() const { |
191 return message_; | 191 return message_; |
192 } | 192 } |
193 | 193 |
194 int SimpleAlertInfoBarDelegate::GetButtons() const { | 194 int SimpleAlertInfoBarDelegate::GetButtons() const { |
195 return BUTTON_NONE; | 195 return BUTTON_NONE; |
196 } | 196 } |
OLD | NEW |