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

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

Issue 316443004: Oilpan: Remove ref counting from EventTarget and all uses of Pass/RefPtr<EventTarget>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 250
251 DOMWindowCSS& css() const; 251 DOMWindowCSS& css() const;
252 252
253 // Events 253 // Events
254 // EventTarget API 254 // EventTarget API
255 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr< EventListener>, bool useCapture = false) OVERRIDE; 255 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr< EventListener>, bool useCapture = false) OVERRIDE;
256 virtual bool removeEventListener(const AtomicString& eventType, EventLis tener*, bool useCapture = false) OVERRIDE; 256 virtual bool removeEventListener(const AtomicString& eventType, EventLis tener*, bool useCapture = false) OVERRIDE;
257 virtual void removeAllEventListeners() OVERRIDE; 257 virtual void removeAllEventListeners() OVERRIDE;
258 258
259 using EventTarget::dispatchEvent; 259 using EventTarget::dispatchEvent;
260 bool dispatchEvent(PassRefPtrWillBeRawPtr<Event> prpEvent, PassRefPtr<Ev entTarget> prpTarget); 260 bool dispatchEvent(PassRefPtrWillBeRawPtr<Event> prpEvent, PassRefPtrWil lBeRawPtr<EventTarget> prpTarget);
261 261
262 void dispatchLoadEvent(); 262 void dispatchLoadEvent();
263 263
264 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationend); 264 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationend);
265 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationiteration); 265 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationiteration);
266 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationstart); 266 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationstart);
267 DEFINE_ATTRIBUTE_EVENT_LISTENER(search); 267 DEFINE_ATTRIBUTE_EVENT_LISTENER(search);
268 DEFINE_ATTRIBUTE_EVENT_LISTENER(transitionend); 268 DEFINE_ATTRIBUTE_EVENT_LISTENER(transitionend);
269 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel); 269 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel);
270 270
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 } 400 }
401 401
402 inline String DOMWindow::defaultStatus() const 402 inline String DOMWindow::defaultStatus() const
403 { 403 {
404 return m_defaultStatus; 404 return m_defaultStatus;
405 } 405 }
406 406
407 } // namespace WebCore 407 } // namespace WebCore
408 408
409 #endif // DOMWindow_h 409 #endif // DOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698