Split InfoBarService core code into InfoBarManager
commitc1b4622fe8c4dcd7114d4717323a85a26869cb40
authordroger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 1 Apr 2014 11:44:03 +0000 (1 11:44 +0000)
committerdroger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 1 Apr 2014 11:44:03 +0000 (1 11:44 +0000)
treed81fe2221b24ce45efebade660c858d873df6f05
parent3177c8fd4a3b00a9ee79b4c9d09d88397e0f4227
Split InfoBarService core code into InfoBarManager

InfoBarService is now responsible for associating an InfoBarManager to a Tab
and handling the interactions with the rest of chrome (notifications, navigation
events).

InfoBarManager has the core logic for infobar management. It owns the list of infobars.

Eventually InfoBarManager will no longer rely on content/, but for now it still
has a reference to a WebContents instance. This reference was kept for now to
minimize the size of the change, but will be removed in a future CL.

BUG=354379
TBR=jochen

Review URL: https://codereview.chromium.org/211273007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260847 0039d316-1c4b-4281-b951-d872f2087c98
54 files changed:
chrome/browser/accessibility/accessibility_extension_api.cc
chrome/browser/android/tab_android.cc
chrome/browser/autofill/autofill_browsertest.cc
chrome/browser/autofill/autofill_interactive_uitest.cc
chrome/browser/automation/automation_provider_observers.cc
chrome/browser/automation/testing_automation_provider.cc
chrome/browser/content_settings/permission_queue_controller.cc
chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc
chrome/browser/download/download_browsertest.cc
chrome/browser/extensions/api/debugger/debugger_api.cc
chrome/browser/extensions/extension_install_ui_browsertest.cc
chrome/browser/extensions/theme_installed_infobar_delegate.cc
chrome/browser/extensions/webstore_startup_installer_browsertest.cc
chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc
chrome/browser/geolocation/geolocation_browsertest.cc
chrome/browser/infobars/infobar.cc
chrome/browser/infobars/infobar.h
chrome/browser/infobars/infobar_container.cc
chrome/browser/infobars/infobar_container.h
chrome/browser/infobars/infobar_manager.cc [new file with mode: 0644]
chrome/browser/infobars/infobar_manager.h [copied from chrome/browser/infobars/infobar_service.h with 66% similarity]
chrome/browser/infobars/infobar_service.cc
chrome/browser/infobars/infobar_service.h
chrome/browser/infobars/infobars_browsertest.cc
chrome/browser/infobars/insecure_content_infobar_delegate.cc
chrome/browser/managed_mode/managed_mode_interstitial.cc
chrome/browser/managed_mode/managed_mode_navigation_observer.cc
chrome/browser/media/chrome_media_stream_infobar_browsertest.cc
chrome/browser/media/media_stream_infobar_delegate.cc
chrome/browser/media/webrtc_browsertest_base.cc
chrome/browser/notifications/notification_browsertest.cc
chrome/browser/password_manager/password_manager_browsertest.cc
chrome/browser/policy/policy_browsertest.cc
chrome/browser/translate/translate_browsertest.cc
chrome/browser/translate/translate_infobar_delegate.cc
chrome/browser/translate/translate_manager_render_view_host_unittest.cc
chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc
chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc
chrome/browser/ui/android/infobars/infobar_container_android.cc
chrome/browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm
chrome/browser/ui/cocoa/infobars/infobar_cocoa.h
chrome/browser/ui/cocoa/infobars/infobar_cocoa.mm
chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm
chrome/browser/ui/cocoa/infobars/translate_infobar_unittest.mm
chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc
chrome/browser/ui/gtk/browser_window_gtk.cc
chrome/browser/ui/hung_plugin_tab_helper.cc
chrome/browser/ui/startup/session_crashed_infobar_delegate_unittest.cc
chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
chrome/browser/ui/views/frame/browser_view.cc
chrome/browser/ui/website_settings/website_settings_unittest.cc
chrome/chrome_browser.gypi
chrome/test/gpu/webgl_infobar_browsertest.cc
chrome/test/ppapi/ppapi_test.cc