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

Unified Diff: components/infobars/core/infobar_manager.h

Issue 1361253002: Separate the URL of an infobar link with clicking on it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pkasting Created 5 years, 3 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: components/infobars/core/infobar_manager.h
diff --git a/components/infobars/core/infobar_manager.h b/components/infobars/core/infobar_manager.h
index d984f5bb945e610eb3dbf1b0cc4143ec17f32a3a..ed48edc37946ed2099205d78ee3d74a5a66bed11 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 according to the specified |disposition|.
+ 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
« no previous file with comments | « components/infobars/core/confirm_infobar_delegate.cc ('k') | ios/chrome/browser/ui/autofill/autofill_client_ios.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698