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

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

Issue 11721003: Eliminate the LinkInfoBar[Delegate] classes entirely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address some nits - testing-automation matters? Created 7 years, 11 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
(Empty)
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/api/infobars/link_infobar_delegate.h"
6
7 bool LinkInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) {
8 return true;
9 }
10
11 LinkInfoBarDelegate::LinkInfoBarDelegate(InfoBarService* infobar_service)
12 : InfoBarDelegate(infobar_service) {
13 }
14
15 LinkInfoBarDelegate::~LinkInfoBarDelegate() {
16 }
17
18 LinkInfoBarDelegate* LinkInfoBarDelegate::AsLinkInfoBarDelegate() {
19 return this;
20 }
OLDNEW
« no previous file with comments | « chrome/browser/api/infobars/link_infobar_delegate.h ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698