diff options
author | shrikant@chromium.org <shrikant@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-17 18:00:45 +0000 |
---|---|---|
committer | shrikant@chromium.org <shrikant@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-17 18:00:45 +0000 |
commit | 46be3cc1ad677e843c34b5ff1ef84999b992c3f2 (patch) | |
tree | 0a9e047d8a4358982c098edf75f9226fb2060875 /base/win | |
parent | ca89ab407c9f82e59de9b780744d13f0ceab2139 (diff) | |
download | chromium_src-46be3cc1ad677e843c34b5ff1ef84999b992c3f2.zip chromium_src-46be3cc1ad677e843c34b5ff1ef84999b992c3f2.tar.gz chromium_src-46be3cc1ad677e843c34b5ff1ef84999b992c3f2.tar.bz2 |
Fixing issue of invalid number of parameters. Found this issue while debugging reported crash. This could be likely cause of the crash, which is not repro at this time on my VM with outlined steps.
To test fixed issue:
Open chrome in metro mode with a html page which shows notification like following.
var notification = webkitNotifications.createNotification("", "Notification Created", "Notification created", "");
notification.show();
BUG=240260
Test=As outlined in description above.
R=cpu,ananta,dewittj
Review URL: https://chromiumcodereview.appspot.com/16865017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206750 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/win')
-rw-r--r-- | base/win/metro.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/win/metro.h b/base/win/metro.h index 5f69fac..b2208fc 100644 --- a/base/win/metro.h +++ b/base/win/metro.h @@ -116,6 +116,9 @@ typedef void (*MetroNotification)(const char* origin_url, MetroNotificationClickedHandler handler, const wchar_t* handler_context); +// Function to cancel displayed notification. +typedef bool (*MetroCancelNotification)(const char* notification_id); + // Callback for UMA invoked by Metro Pin and UnPin functions after user gesture. typedef base::Callback<void(MetroSecondaryTilePinUmaResult)> MetroPinUmaResultCallback; |