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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 void dispatchShowEvent() override; | 83 void dispatchShowEvent() override; |
84 void dispatchClickEvent() override; | 84 void dispatchClickEvent() override; |
85 void dispatchErrorEvent() override; | 85 void dispatchErrorEvent() override; |
86 void dispatchCloseEvent() override; | 86 void dispatchCloseEvent() override; |
87 | 87 |
88 String title() const; | 88 String title() const; |
89 String dir() const; | 89 String dir() const; |
90 String lang() const; | 90 String lang() const; |
91 String body() const; | 91 String body() const; |
92 String tag() const; | 92 String tag() const; |
| 93 String image() const; |
93 String icon() const; | 94 String icon() const; |
94 String badge() const; | 95 String badge() const; |
95 NavigatorVibration::VibrationPattern vibrate() const; | 96 NavigatorVibration::VibrationPattern vibrate() const; |
96 DOMTimeStamp timestamp() const; | 97 DOMTimeStamp timestamp() const; |
97 bool renotify() const; | 98 bool renotify() const; |
98 bool silent() const; | 99 bool silent() const; |
99 bool requireInteraction() const; | 100 bool requireInteraction() const; |
100 ScriptValue data(ScriptState*); | 101 ScriptValue data(ScriptState*); |
101 Vector<v8::Local<v8::Value>> actions(ScriptState*) const; | 102 Vector<v8::Local<v8::Value>> actions(ScriptState*) const; |
102 | 103 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 NotificationState m_state; | 161 NotificationState m_state; |
161 | 162 |
162 Member<AsyncMethodRunner<Notification>> m_prepareShowMethodRunner; | 163 Member<AsyncMethodRunner<Notification>> m_prepareShowMethodRunner; |
163 | 164 |
164 Member<NotificationResourcesLoader> m_loader; | 165 Member<NotificationResourcesLoader> m_loader; |
165 }; | 166 }; |
166 | 167 |
167 } // namespace blink | 168 } // namespace blink |
168 | 169 |
169 #endif // Notification_h | 170 #endif // Notification_h |
OLD | NEW |