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

Unified Diff: chrome/browser/extensions/extension_view_host.h

Issue 923463003: [Extensions] Remove the Infobar API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_view_host.h
diff --git a/chrome/browser/extensions/extension_view_host.h b/chrome/browser/extensions/extension_view_host.h
index 3566b31f5798d10ba272f66dd64f3bf1a686318d..63cb61e1de847d23e27e2574666936b0cb405de7 100644
--- a/chrome/browser/extensions/extension_view_host.h
+++ b/chrome/browser/extensions/extension_view_host.h
@@ -23,8 +23,8 @@ namespace extensions {
class ExtensionView;
// The ExtensionHost for an extension that backs a view in the browser UI. For
-// example, this could be an extension popup, infobar or dialog, but not a
-// background page.
+// example, this could be an extension popup or dialog, but not a background
+// page.
// TODO(gbillock): See if we can remove WebContentsModalDialogManager here.
class ExtensionViewHost
: public ExtensionHost,
@@ -57,7 +57,6 @@ class ExtensionViewHost
// ExtensionHost
void OnDidStopLoading() override;
- void OnDocumentAvailable() override;
void LoadInitialURL() override;
bool IsBackgroundPage() const override;
@@ -112,9 +111,6 @@ class ExtensionViewHost
static scoped_ptr<ExtensionView> CreateExtensionView(ExtensionViewHost* host,
Browser* browser);
- // Insert a default style sheet for Extension Infobars.
- void InsertInfobarCSS();
-
// Optional view that shows the rendered content in the UI.
scoped_ptr<ExtensionView> view_;
« no previous file with comments | « chrome/browser/extensions/extension_infobar_delegate.cc ('k') | chrome/browser/extensions/extension_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698