| Index: third_party/WebCore/notifications/NotificationCenter.idl
|
| diff --git a/third_party/WebCore/notifications/NotificationCenter.idl b/third_party/WebCore/notifications/NotificationCenter.idl
|
| index 7b0fc25557cc50a3b5578c32b82245091c11c27b..e508447d49ebaa419cfe7250024c931162eedd7e 100644
|
| --- a/third_party/WebCore/notifications/NotificationCenter.idl
|
| +++ b/third_party/WebCore/notifications/NotificationCenter.idl
|
| @@ -1,6 +1,6 @@
|
| /*
|
| * Copyright (C) 2009 Google Inc. All rights reserved.
|
| - * Copyright (C) 2011 Apple Inc. All rights reserved.
|
| + * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions are
|
| @@ -36,10 +36,12 @@ module threads {
|
| ActiveDOMObject,
|
| OmitConstructor
|
| ] NotificationCenter {
|
| +#if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS
|
| #if !defined(ENABLE_TEXT_NOTIFICATIONS_ONLY) || !ENABLE_TEXT_NOTIFICATIONS_ONLY
|
| [V8Custom] Notification createHTMLNotification(in DOMString url) raises(DOMException);
|
| #endif
|
| [V8Custom] Notification createNotification(in DOMString iconUrl, in DOMString title, in DOMString body) raises(DOMException);
|
| +#endif
|
|
|
| int checkPermission();
|
| [Custom] void requestPermission(in VoidCallback callback);
|
|
|