Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: Source/core/page/DOMWindow.h

Issue 16904002: Avoid leaking objects between isolated worlds via attribute event listeners (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/MessagePort.h ('k') | Source/modules/notifications/Notification.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 DEFINE_ATTRIBUTE_EVENT_LISTENER(suspend); 325 DEFINE_ATTRIBUTE_EVENT_LISTENER(suspend);
326 DEFINE_ATTRIBUTE_EVENT_LISTENER(timeupdate); 326 DEFINE_ATTRIBUTE_EVENT_LISTENER(timeupdate);
327 DEFINE_ATTRIBUTE_EVENT_LISTENER(unload); 327 DEFINE_ATTRIBUTE_EVENT_LISTENER(unload);
328 DEFINE_ATTRIBUTE_EVENT_LISTENER(volumechange); 328 DEFINE_ATTRIBUTE_EVENT_LISTENER(volumechange);
329 DEFINE_ATTRIBUTE_EVENT_LISTENER(waiting); 329 DEFINE_ATTRIBUTE_EVENT_LISTENER(waiting);
330 330
331 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnima tionStart); 331 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnima tionStart);
332 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitA nimationIteration); 332 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitA nimationIteration);
333 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimati onEnd); 333 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimati onEnd);
334 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkittransitionend, webkitTransi tionEnd); 334 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkittransitionend, webkitTransi tionEnd);
335 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(transitionend, transitionend); 335 DEFINE_ATTRIBUTE_EVENT_LISTENER(transitionend);
336 336
337 void finishedLoading(); 337 void finishedLoading();
338 338
339 using RefCounted<DOMWindow>::ref; 339 using RefCounted<DOMWindow>::ref;
340 using RefCounted<DOMWindow>::deref; 340 using RefCounted<DOMWindow>::deref;
341 341
342 DEFINE_ATTRIBUTE_EVENT_LISTENER(devicemotion); 342 DEFINE_ATTRIBUTE_EVENT_LISTENER(devicemotion);
343 DEFINE_ATTRIBUTE_EVENT_LISTENER(deviceorientation); 343 DEFINE_ATTRIBUTE_EVENT_LISTENER(deviceorientation);
344 344
345 // HTML 5 key/value storage 345 // HTML 5 key/value storage
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 } 438 }
439 439
440 inline String DOMWindow::defaultStatus() const 440 inline String DOMWindow::defaultStatus() const
441 { 441 {
442 return m_defaultStatus; 442 return m_defaultStatus;
443 } 443 }
444 444
445 } // namespace WebCore 445 } // namespace WebCore
446 446
447 #endif // DOMWindow_h 447 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « Source/core/dom/MessagePort.h ('k') | Source/modules/notifications/Notification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698