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

Unified Diff: base/win/metro.h

Issue 11096013: Add functionality to the Windows 8 notification display functionality to invoke a caller specified … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/download/download_status_updater_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/metro.h
===================================================================
--- base/win/metro.h (revision 160886)
+++ base/win/metro.h (working copy)
@@ -84,15 +84,19 @@
// Handler function for the buttons on a metro dialog box
typedef void (*MetroDialogButtonPressedHandler)();
+// Handler function invoked when a metro style notification is clicked.
+typedef void (*MetroNotificationClickedHandler)(const wchar_t* context);
+
// Function to display metro style notifications.
typedef void (*MetroNotification)(const char* origin_url,
const char* icon_url,
const wchar_t* title,
const wchar_t* body,
const wchar_t* display_source,
- const char* notification_id);
+ const char* notification_id,
+ MetroNotificationClickedHandler handler,
+ const wchar_t* handler_context);
-
} // namespace win
} // namespace base
« no previous file with comments | « no previous file | chrome/browser/download/download_status_updater_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698