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

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: 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
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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 DEFINE_ATTRIBUTE_EVENT_LISTENER(suspend); 327 DEFINE_ATTRIBUTE_EVENT_LISTENER(suspend);
328 DEFINE_ATTRIBUTE_EVENT_LISTENER(timeupdate); 328 DEFINE_ATTRIBUTE_EVENT_LISTENER(timeupdate);
329 DEFINE_ATTRIBUTE_EVENT_LISTENER(unload); 329 DEFINE_ATTRIBUTE_EVENT_LISTENER(unload);
330 DEFINE_ATTRIBUTE_EVENT_LISTENER(volumechange); 330 DEFINE_ATTRIBUTE_EVENT_LISTENER(volumechange);
331 DEFINE_ATTRIBUTE_EVENT_LISTENER(waiting); 331 DEFINE_ATTRIBUTE_EVENT_LISTENER(waiting);
332 332
333 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnima tionStart); 333 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnima tionStart);
334 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitA nimationIteration); 334 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitA nimationIteration);
335 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimati onEnd); 335 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimati onEnd);
336 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkittransitionend, webkitTransi tionEnd); 336 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkittransitionend, webkitTransi tionEnd);
337 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(transitionend, transitionend); 337 DEFINE_ATTRIBUTE_EVENT_LISTENER(transitionend);
338 338
339 void finishedLoading(); 339 void finishedLoading();
340 340
341 using RefCounted<DOMWindow>::ref; 341 using RefCounted<DOMWindow>::ref;
342 using RefCounted<DOMWindow>::deref; 342 using RefCounted<DOMWindow>::deref;
343 343
344 DEFINE_ATTRIBUTE_EVENT_LISTENER(devicemotion); 344 DEFINE_ATTRIBUTE_EVENT_LISTENER(devicemotion);
345 DEFINE_ATTRIBUTE_EVENT_LISTENER(deviceorientation); 345 DEFINE_ATTRIBUTE_EVENT_LISTENER(deviceorientation);
346 346
347 // HTML 5 key/value storage 347 // HTML 5 key/value storage
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 } 441 }
442 442
443 inline String DOMWindow::defaultStatus() const 443 inline String DOMWindow::defaultStatus() const
444 { 444 {
445 return m_defaultStatus; 445 return m_defaultStatus;
446 } 446 }
447 447
448 } // namespace WebCore 448 } // namespace WebCore
449 449
450 #endif // DOMWindow_h 450 #endif // DOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698