Chromium Code Reviews| Index: chrome/browser/ui/confirm_bubble_model.h |
| diff --git a/chrome/browser/ui/confirm_bubble_model.h b/chrome/browser/ui/confirm_bubble_model.h |
| index 3406016c7de0276c755c7f9e77e323fd52de91a3..33405eb0d1c38becefe94d92cbc2e1300bcb4167 100644 |
| --- a/chrome/browser/ui/confirm_bubble_model.h |
| +++ b/chrome/browser/ui/confirm_bubble_model.h |
| @@ -7,6 +7,7 @@ |
| #include "base/basictypes.h" |
| #include "base/strings/string16.h" |
| +#include "url/gurl.h" |
| namespace gfx { |
| class Image; |
| @@ -49,10 +50,13 @@ class ConfirmBubbleModel { |
| virtual void Cancel(); |
| // Returns the text of the link to be displayed, if any. Otherwise returns |
| - // and empty string. |
| + // an empty string. |
| virtual base::string16 GetLinkText() const; |
| - // Called when the Link is clicked. |
| + // Returns the URL of the link to be displayed. |
| + virtual GURL GetLinkURL() const; |
|
Peter Kasting
2015/09/24 21:18:27
I don't think you should be modifying this class o
Avi (use Gerrit)
2015/09/30 22:58:33
This interface is identical to the toolbar interfa
Peter Kasting
2015/10/01 00:10:58
I'm not objecting to the fix, I just would have pr
|
| + |
| + // Called when the link is clicked. |
| virtual void LinkClicked(); |
| private: |