summaryrefslogtreecommitdiffstats
path: root/components/infobars.gypi
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2014-12-22 09:30:59 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-22 17:31:51 +0000
commit316da458d4d1ea846f078efaf71ae1f23964f42e (patch)
tree97be3296df5195fdd697ab72738145d800b5f93c /components/infobars.gypi
parenta84772b7edfdc4f83e0b6b0831085657a8818334 (diff)
downloadchromium_src-316da458d4d1ea846f078efaf71ae1f23964f42e.zip
chromium_src-316da458d4d1ea846f078efaf71ae1f23964f42e.tar.gz
chromium_src-316da458d4d1ea846f078efaf71ae1f23964f42e.tar.bz2
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}
Diffstat (limited to 'components/infobars.gypi')
-rw-r--r--components/infobars.gypi16
1 files changed, 0 insertions, 16 deletions
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',
- ],
- },
],
}