From 316da458d4d1ea846f078efaf71ae1f23964f42e Mon Sep 17 00:00:00 2001 From: sdefresne Date: Mon, 22 Dec 2014 09:30:59 -0800 Subject: Remove dependency of infobars component on the embedder Add a virtual method InfoBarManager::CreateConfirmInfoBar that allow the embedder to use UI specific implementation of ConfirmInfoBar. Port all client code to use this virtual method instead of the static method ConfirmInfoBarDelegate::CreateInfoBar. Implements the InfoBarService::CreateConfirmInfoBar method for the different UI (views, android, cocoa) and for TestInfoBarManager. BUG=386171 TBR=jam@chromium.org TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/812823002 Cr-Commit-Position: refs/heads/master@{#309437} --- components/infobars.gypi | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'components/infobars.gypi') diff --git a/components/infobars.gypi b/components/infobars.gypi index ad13b70..e2066e1 100644 --- a/components/infobars.gypi +++ b/components/infobars.gypi @@ -37,21 +37,5 @@ 'infobars/core/infobars_switches.h', ], }, - { - # GN version: //components/infobars/test:test_support - 'target_name': 'infobars_test_support', - 'type': 'static_library', - 'include_dirs': [ - '..', - ], - 'dependencies': [ - '../base/base.gyp:base', - '../skia/skia.gyp:skia', - ], - 'sources': [ - # Note: sources list duplicated in GN build. - 'infobars/test/infobar_test.cc', - ], - }, ], } -- cgit v1.1