Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: chrome/browser/api/infobars/link_infobar_delegate.cc

Issue 10830353: Introduce InfoBarTabService API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments, merge to LKGR Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 }
OLDNEW
« no previous file with comments | « chrome/browser/api/infobars/link_infobar_delegate.h ('k') | chrome/browser/api/infobars/simple_alert_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698