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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 String Notification::body() const | 247 String Notification::body() const |
248 { | 248 { |
249 return m_data.body; | 249 return m_data.body; |
250 } | 250 } |
251 | 251 |
252 String Notification::tag() const | 252 String Notification::tag() const |
253 { | 253 { |
254 return m_data.tag; | 254 return m_data.tag; |
255 } | 255 } |
256 | 256 |
| 257 String Notification::image() const |
| 258 { |
| 259 return m_data.image.string(); |
| 260 } |
| 261 |
257 String Notification::icon() const | 262 String Notification::icon() const |
258 { | 263 { |
259 return m_data.icon.string(); | 264 return m_data.icon.string(); |
260 } | 265 } |
261 | 266 |
262 String Notification::badge() const | 267 String Notification::badge() const |
263 { | 268 { |
264 return m_data.badge.string(); | 269 return m_data.badge.string(); |
265 } | 270 } |
266 | 271 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 | 404 |
400 DEFINE_TRACE(Notification) | 405 DEFINE_TRACE(Notification) |
401 { | 406 { |
402 visitor->trace(m_prepareShowMethodRunner); | 407 visitor->trace(m_prepareShowMethodRunner); |
403 visitor->trace(m_loader); | 408 visitor->trace(m_loader); |
404 EventTargetWithInlineData::trace(visitor); | 409 EventTargetWithInlineData::trace(visitor); |
405 ActiveDOMObject::trace(visitor); | 410 ActiveDOMObject::trace(visitor); |
406 } | 411 } |
407 | 412 |
408 } // namespace blink | 413 } // namespace blink |
OLD | NEW |