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/api/infobars/link_infobar_delegate.h" | 5 #include "chrome/browser/api/infobars/link_infobar_delegate.h" |
6 | 6 |
7 bool LinkInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) { | 7 bool LinkInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) { |
8 return true; | 8 return true; |
9 } | 9 } |
10 | 10 |
11 LinkInfoBarDelegate::LinkInfoBarDelegate(InfoBarTabHelper* infobar_helper) | 11 LinkInfoBarDelegate::LinkInfoBarDelegate(InfoBarTabService* infobar_service) |
12 : InfoBarDelegate(infobar_helper) { | 12 : InfoBarDelegate(infobar_service) { |
13 } | 13 } |
14 | 14 |
15 LinkInfoBarDelegate::~LinkInfoBarDelegate() { | 15 LinkInfoBarDelegate::~LinkInfoBarDelegate() { |
16 } | 16 } |
17 | 17 |
18 LinkInfoBarDelegate* LinkInfoBarDelegate::AsLinkInfoBarDelegate() { | 18 LinkInfoBarDelegate* LinkInfoBarDelegate::AsLinkInfoBarDelegate() { |
19 return this; | 19 return this; |
20 } | 20 } |
OLD | NEW |