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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 DOMTimeStamp Notification::timestamp() const | 256 DOMTimeStamp Notification::timestamp() const |
257 { | 257 { |
258 return m_data.timestamp; | 258 return m_data.timestamp; |
259 } | 259 } |
260 | 260 |
261 bool Notification::silent() const | 261 bool Notification::silent() const |
262 { | 262 { |
263 return m_data.silent; | 263 return m_data.silent; |
264 } | 264 } |
265 | 265 |
| 266 bool Notification::renotify() const |
| 267 { |
| 268 return m_data.renotify; |
| 269 } |
| 270 |
266 bool Notification::requireInteraction() const | 271 bool Notification::requireInteraction() const |
267 { | 272 { |
268 return m_data.requireInteraction; | 273 return m_data.requireInteraction; |
269 } | 274 } |
270 | 275 |
271 ScriptValue Notification::data(ScriptState* scriptState) | 276 ScriptValue Notification::data(ScriptState* scriptState) |
272 { | 277 { |
273 if (m_developerData.isEmpty()) { | 278 if (m_developerData.isEmpty()) { |
274 RefPtr<SerializedScriptValue> serializedValue; | 279 RefPtr<SerializedScriptValue> serializedValue; |
275 | 280 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 } | 377 } |
373 | 378 |
374 DEFINE_TRACE(Notification) | 379 DEFINE_TRACE(Notification) |
375 { | 380 { |
376 visitor->trace(m_asyncRunner); | 381 visitor->trace(m_asyncRunner); |
377 RefCountedGarbageCollectedEventTargetWithInlineData<Notification>::trace(vis
itor); | 382 RefCountedGarbageCollectedEventTargetWithInlineData<Notification>::trace(vis
itor); |
378 ActiveDOMObject::trace(visitor); | 383 ActiveDOMObject::trace(visitor); |
379 } | 384 } |
380 | 385 |
381 } // namespace blink | 386 } // namespace blink |
OLD | NEW |