Index: chrome/browser/ui/global_error/global_error.h |
diff --git a/chrome/browser/ui/global_error/global_error.h b/chrome/browser/ui/global_error/global_error.h |
index fe79ce326ae76d8c613b6f9697a5f1e28c4b5c98..61ac3359c790ad028132df1c73a6c69bda8ef8a9 100644 |
--- a/chrome/browser/ui/global_error/global_error.h |
+++ b/chrome/browser/ui/global_error/global_error.h |
@@ -14,6 +14,10 @@ |
class Browser; |
class GlobalErrorBubbleViewBase; |
+namespace gfx { |
+class Image; |
+} |
+ |
// This object describes a single global error. |
class GlobalError : public base::SupportsWeakPtr<GlobalError> { |
public: |
@@ -50,8 +54,8 @@ class GlobalError : public base::SupportsWeakPtr<GlobalError> { |
void ShowBubbleView(Browser* browser); |
// Returns the bubble view. |
virtual GlobalErrorBubbleViewBase* GetBubbleView(); |
- // Returns the resource ID for bubble view icon. |
- int GetBubbleViewIconResourceID(); |
+ // Returns an icon to use for the bubble view. |
+ virtual gfx::Image GetBubbleViewIcon() = 0; |
sail
2013/05/28 22:41:22
Any reason not have a default implementation retur
Yoyo Zhou
2013/05/28 22:56:44
Nope, that's a much better plan. I was just having
|
// Returns the title for the bubble view. |
virtual string16 GetBubbleViewTitle() = 0; |
// Returns the messages for the bubble view, one per line. Multiple messages |