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

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

Issue 21263002: Add back captureEvents and releaseEvents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 DEFINE_ATTRIBUTE_EVENT_LISTENER(unload); 341 DEFINE_ATTRIBUTE_EVENT_LISTENER(unload);
342 DEFINE_ATTRIBUTE_EVENT_LISTENER(volumechange); 342 DEFINE_ATTRIBUTE_EVENT_LISTENER(volumechange);
343 DEFINE_ATTRIBUTE_EVENT_LISTENER(waiting); 343 DEFINE_ATTRIBUTE_EVENT_LISTENER(waiting);
344 344
345 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnima tionStart); 345 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnima tionStart);
346 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitA nimationIteration); 346 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitA nimationIteration);
347 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimati onEnd); 347 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimati onEnd);
348 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkittransitionend, webkitTransi tionEnd); 348 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkittransitionend, webkitTransi tionEnd);
349 DEFINE_ATTRIBUTE_EVENT_LISTENER(transitionend); 349 DEFINE_ATTRIBUTE_EVENT_LISTENER(transitionend);
350 350
351 void captureEvents() { }
352 void releaseEvents() { }
353
351 void finishedLoading(); 354 void finishedLoading();
352 355
353 using RefCounted<DOMWindow>::ref; 356 using RefCounted<DOMWindow>::ref;
354 using RefCounted<DOMWindow>::deref; 357 using RefCounted<DOMWindow>::deref;
355 358
356 DEFINE_ATTRIBUTE_EVENT_LISTENER(devicemotion); 359 DEFINE_ATTRIBUTE_EVENT_LISTENER(devicemotion);
357 DEFINE_ATTRIBUTE_EVENT_LISTENER(deviceorientation); 360 DEFINE_ATTRIBUTE_EVENT_LISTENER(deviceorientation);
358 361
359 // HTML 5 key/value storage 362 // HTML 5 key/value storage
360 Storage* sessionStorage(ExceptionCode&) const; 363 Storage* sessionStorage(ExceptionCode&) const;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 } 450 }
448 451
449 inline String DOMWindow::defaultStatus() const 452 inline String DOMWindow::defaultStatus() const
450 { 453 {
451 return m_defaultStatus; 454 return m_defaultStatus;
452 } 455 }
453 456
454 } // namespace WebCore 457 } // namespace WebCore
455 458
456 #endif // DOMWindow_h 459 #endif // DOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698