Home | History | Annotate | Download | only in tab_contents
      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
      3 // found in the LICENSE file.
      4 
      5 #include "chrome/browser/tab_contents/link_infobar_delegate.h"
      6 
      7 #include "content/browser/tab_contents/tab_contents.h"
      8 
      9 bool LinkInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) {
     10   return true;
     11 }
     12 
     13 LinkInfoBarDelegate::LinkInfoBarDelegate(TabContents* contents)
     14     : InfoBarDelegate(contents) {
     15 }
     16 
     17 LinkInfoBarDelegate::~LinkInfoBarDelegate() {
     18 }
     19 
     20 LinkInfoBarDelegate* LinkInfoBarDelegate::AsLinkInfoBarDelegate() {
     21   return this;
     22 }
     23