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

Unified Diff: ui/views/controls/message_box_view.h

Issue 10437006: Converts ui/views/controls, ui/views/examples, ui/base/models to ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 7 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: ui/views/controls/message_box_view.h
diff --git a/ui/views/controls/message_box_view.h b/ui/views/controls/message_box_view.h
index 7fa2f076c20c10f7b2aec2cadfbbffa9a2482488..c49215576f3817c0d270be64aa8e8f669b45ff45 100644
--- a/ui/views/controls/message_box_view.h
+++ b/ui/views/controls/message_box_view.h
@@ -11,6 +11,10 @@
#include "base/string16.h"
#include "ui/views/view.h"
+namespace gfx {
+class ImageSkia;
+}
+
namespace views {
class Checkbox;
@@ -62,7 +66,7 @@ class VIEWS_EXPORT MessageBoxView : public View {
// Adds |icon| to the upper left of the message box or replaces the current
// icon. To start out, the message box has no icon.
- void SetIcon(const SkBitmap& icon);
+ void SetIcon(const gfx::ImageSkia& icon);
// Adds a checkbox with the specified label to the message box if this is the
// first call. Otherwise, it changes the label of the current checkbox. To

Powered by Google App Engine
This is Rietveld 408576698