| 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_UI_VIEWS_INFOBARS_ALTERNATE_NAV_INFOBAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_ALTERNATE_NAV_INFOBAR_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_ALTERNATE_NAV_INFOBAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_ALTERNATE_NAV_INFOBAR_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "chrome/browser/ui/views/infobars/infobar_view.h" | 10 #include "chrome/browser/ui/views/infobars/infobar_view.h" |
| 10 #include "ui/views/controls/link_listener.h" | 11 #include "ui/views/controls/link_listener.h" |
| 11 | 12 |
| 12 class AlternateNavInfoBarDelegate; | 13 class AlternateNavInfoBarDelegate; |
| 13 | 14 |
| 14 // An infobar that shows a string with an embedded link. | 15 // An infobar that shows a string with an embedded link. |
| 15 class AlternateNavInfoBarView : public InfoBarView, | 16 class AlternateNavInfoBarView : public InfoBarView, |
| 16 public views::LinkListener { | 17 public views::LinkListener { |
| 17 public: | 18 public: |
| (...skipping 27 matching lines...) Expand all Loading... |
| 45 base::string16 label_2_text_; | 46 base::string16 label_2_text_; |
| 46 | 47 |
| 47 views::Label* label_1_; | 48 views::Label* label_1_; |
| 48 views::Link* link_; | 49 views::Link* link_; |
| 49 views::Label* label_2_; | 50 views::Label* label_2_; |
| 50 | 51 |
| 51 DISALLOW_COPY_AND_ASSIGN(AlternateNavInfoBarView); | 52 DISALLOW_COPY_AND_ASSIGN(AlternateNavInfoBarView); |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_ALTERNATE_NAV_INFOBAR_VIEW_H_ | 55 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_ALTERNATE_NAV_INFOBAR_VIEW_H_ |
| OLD | NEW |