Index: components/infobars/core/infobar_manager.h |
diff --git a/components/infobars/core/infobar_manager.h b/components/infobars/core/infobar_manager.h |
index d984f5bb945e610eb3dbf1b0cc4143ec17f32a3a..1a7c9dbdf34e67760669a7f385b2ba7bff14b37b 100644 |
--- a/components/infobars/core/infobar_manager.h |
+++ b/components/infobars/core/infobar_manager.h |
@@ -12,6 +12,7 @@ |
#include "components/infobars/core/infobar_delegate.h" |
class ConfirmInfoBarDelegate; |
+class GURL; |
namespace content { |
class WebContents; |
@@ -100,6 +101,9 @@ class InfoBarManager { |
virtual scoped_ptr<infobars::InfoBar> CreateConfirmInfoBar( |
scoped_ptr<ConfirmInfoBarDelegate> delegate) = 0; |
+ // Opens a URL in whatever manner is appropriate. |
Peter Kasting
2015/10/01 00:10:58
Nit: in whatever manner is appropriate -> accordin
Avi (use Gerrit)
2015/10/01 00:20:33
Done.
|
+ virtual void OpenURL(const GURL& url, WindowOpenDisposition disposition) = 0; |
+ |
protected: |
// Notifies the observer in |observer_list_|. |
// TODO(droger): Absorb these methods back into their callers once virtual |