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

Unified Diff: ui/message_center/notifier_settings.h

Issue 12052057: Introduces 'context' param to NotifierSettingsView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/message_center/notifier_settings.h
diff --git a/ui/message_center/notifier_settings.h b/ui/message_center/notifier_settings.h
index a8f3bb069d29f936782b43ba737588ee8b285fe7..ec4451d10f970f3c28aaf90450fe25d3abe9dc3d 100644
--- a/ui/message_center/notifier_settings.h
+++ b/ui/message_center/notifier_settings.h
@@ -11,6 +11,7 @@
#include "base/string16.h"
#include "ui/gfx/image/image_skia.h"
+#include "ui/gfx/native_widget_types.h"
#include "ui/message_center/message_center_export.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/widget/widget_delegate.h"
@@ -64,7 +65,8 @@ class MESSAGE_CENTER_EXPORT NotifierSettingsView
// Create a new widget of the notifier settings and returns it. Note that
// the widget and the view is self-owned. It'll be deleted when it's closed
// or the chrome's shutdown.
- static NotifierSettingsView* Create(Delegate* delegate);
+ static NotifierSettingsView* Create(Delegate* delegate,
+ gfx::NativeView context);
void UpdateIconImage(const std::string& id, const gfx::ImageSkia& icon);

Powered by Google App Engine
This is Rietveld 408576698