| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 ~Notification() override; | 83 ~Notification() override; |
| 84 | 84 |
| 85 void close(); | 85 void close(); |
| 86 | 86 |
| 87 DEFINE_ATTRIBUTE_EVENT_LISTENER(click); | 87 DEFINE_ATTRIBUTE_EVENT_LISTENER(click); |
| 88 DEFINE_ATTRIBUTE_EVENT_LISTENER(show); | 88 DEFINE_ATTRIBUTE_EVENT_LISTENER(show); |
| 89 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); | 89 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); |
| 90 DEFINE_ATTRIBUTE_EVENT_LISTENER(close); | 90 DEFINE_ATTRIBUTE_EVENT_LISTENER(close); |
| 91 | 91 |
| 92 // WebNotificationDelegate implementation. | 92 // WebNotificationDelegate interface. |
| 93 void dispatchShowEvent() override; | 93 void dispatchShowEvent() override; |
| 94 void dispatchClickEvent() override; | 94 void dispatchClickEvent() override; |
| 95 void dispatchErrorEvent() override; | 95 void dispatchErrorEvent() override; |
| 96 void dispatchCloseEvent() override; | 96 void dispatchCloseEvent() override; |
| 97 | 97 |
| 98 String title() const; | 98 String title() const; |
| 99 String dir() const; | 99 String dir() const; |
| 100 String lang() const; | 100 String lang() const; |
| 101 String body() const; | 101 String body() const; |
| 102 String tag() const; | 102 String tag() const; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 String m_notificationId; | 176 String m_notificationId; |
| 177 | 177 |
| 178 Member<AsyncMethodRunner<Notification>> m_prepareShowMethodRunner; | 178 Member<AsyncMethodRunner<Notification>> m_prepareShowMethodRunner; |
| 179 | 179 |
| 180 Member<NotificationResourcesLoader> m_loader; | 180 Member<NotificationResourcesLoader> m_loader; |
| 181 }; | 181 }; |
| 182 | 182 |
| 183 } // namespace blink | 183 } // namespace blink |
| 184 | 184 |
| 185 #endif // Notification_h | 185 #endif // Notification_h |
| OLD | NEW |