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

Unified Diff: chrome/browser/plugins/plugin_infobar_delegates.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: chrome/browser/plugins/plugin_infobar_delegates.h
diff --git a/chrome/browser/plugins/plugin_infobar_delegates.h b/chrome/browser/plugins/plugin_infobar_delegates.h
index 79174c3d4e2ebc2e5947abece4da8a30c1621ca1..754036c2c6d51351d6895b2b090390911b64224a 100644
--- a/chrome/browser/plugins/plugin_infobar_delegates.h
+++ b/chrome/browser/plugins/plugin_infobar_delegates.h
@@ -53,7 +53,7 @@ class OutdatedPluginInfoBarDelegate : public ConfirmInfoBarDelegate,
bool Accept() override;
bool Cancel() override;
base::string16 GetLinkText() const override;
- bool LinkClicked(WindowOpenDisposition disposition) override;
+ GURL GetLinkURL() const override;
// PluginInstallerObserver:
void DownloadStarted() override;
@@ -106,7 +106,7 @@ class PluginMetroModeInfoBarDelegate : public ConfirmInfoBarDelegate {
base::string16 GetButtonLabel(InfoBarButton button) const override;
bool Accept() override;
base::string16 GetLinkText() const override;
- bool LinkClicked(WindowOpenDisposition disposition) override;
+ GURL GetLinkURL() const override;
const Mode mode_;
const base::string16 name_;
« no previous file with comments | « chrome/browser/plugins/chrome_plugin_service_filter.cc ('k') | chrome/browser/plugins/plugin_infobar_delegates.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698