Chromium Code Reviews| Index: chrome/browser/infobars/infobar_delegate.h |
| diff --git a/chrome/browser/infobars/infobar_delegate.h b/chrome/browser/infobars/infobar_delegate.h |
| index 1fb7d632a9d9b1197125bcdeefbc3e1bd00099e3..66324e1934d1faf573f47417ffb3de0f304d1955 100644 |
| --- a/chrome/browser/infobars/infobar_delegate.h |
| +++ b/chrome/browser/infobars/infobar_delegate.h |
| @@ -78,9 +78,13 @@ class InfoBarDelegate { |
| // Called when the user clicks on the close button to dismiss the infobar. |
| virtual void InfoBarDismissed(); |
| + // Return the resource ID of the icon to be shown for this InfoBar. If the |
| + // value is -1, no icon is shown. |
| + virtual int GetIconID() const; |
| + |
| // Return the icon to be shown for this InfoBar. If the returned Image is |
| // NULL, no icon is shown. |
| - virtual gfx::Image* GetIcon() const; |
| + gfx::Image* GetIcon() const; |
|
Peter Kasting
2013/05/14 00:50:50
Nit: Move this function below the other public fun
gone
2013/05/14 17:50:17
Done.
|
| // Returns the type of the infobar. The type determines the appearance (such |
| // as background color) of the infobar. |