| Index: chrome/browser/extensions/extension_view_host.cc
|
| diff --git a/chrome/browser/extensions/extension_view_host.cc b/chrome/browser/extensions/extension_view_host.cc
|
| index 4650159daafdd8731a01d19e607950481e75d9fe..c902ee2ca53087d8f4ef5fddb64aa1da952beb07 100644
|
| --- a/chrome/browser/extensions/extension_view_host.cc
|
| +++ b/chrome/browser/extensions/extension_view_host.cc
|
| @@ -63,7 +63,6 @@ ExtensionViewHost::ExtensionViewHost(
|
| associated_web_contents_(NULL) {
|
| // Not used for panels, see PanelHost.
|
| DCHECK(host_type == VIEW_TYPE_EXTENSION_DIALOG ||
|
| - host_type == VIEW_TYPE_EXTENSION_INFOBAR ||
|
| host_type == VIEW_TYPE_EXTENSION_POPUP);
|
| }
|
|
|
| @@ -105,13 +104,6 @@ void ExtensionViewHost::OnDidStopLoading() {
|
| view_->DidStopLoading();
|
| }
|
|
|
| -void ExtensionViewHost::OnDocumentAvailable() {
|
| - if (extension_host_type() == VIEW_TYPE_EXTENSION_INFOBAR) {
|
| - // No style sheet for other types, at the moment.
|
| - InsertInfobarCSS();
|
| - }
|
| -}
|
| -
|
| void ExtensionViewHost::LoadInitialURL() {
|
| if (!ExtensionSystem::Get(browser_context())->
|
| runtime_data()->IsBackgroundPageReady(extension())) {
|
|
|