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

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

Issue 1238083002: Oilpan: Move the EventListener hierarchy to Oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 FrameConsole* frameConsole() const; 164 FrameConsole* frameConsole() const;
165 165
166 void printErrorMessage(const String&); 166 void printErrorMessage(const String&);
167 167
168 void postMessageTimerFired(PostMessageTimer*); 168 void postMessageTimerFired(PostMessageTimer*);
169 void removePostMessageTimer(PostMessageTimer*); 169 void removePostMessageTimer(PostMessageTimer*);
170 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigi n, PassRefPtrWillBeRawPtr<Event>, PassRefPtrWillBeRawPtr<ScriptCallStack>); 170 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigi n, PassRefPtrWillBeRawPtr<Event>, PassRefPtrWillBeRawPtr<ScriptCallStack>);
171 171
172 // Events 172 // Events
173 // EventTarget API 173 // EventTarget API
174 bool addEventListener(const AtomicString& eventType, PassRefPtr<EventListene r>, bool useCapture = false) override; 174 bool addEventListener(const AtomicString& eventType, PassRefPtrWillBeRawPtr< EventListener>, bool useCapture = false) override;
175 bool removeEventListener(const AtomicString& eventType, PassRefPtr<EventList ener>, bool useCapture = false) override; 175 bool removeEventListener(const AtomicString& eventType, PassRefPtrWillBeRawP tr<EventListener>, bool useCapture = false) override;
176 void removeAllEventListeners() override; 176 void removeAllEventListeners() override;
177 177
178 using EventTarget::dispatchEvent; 178 using EventTarget::dispatchEvent;
179 bool dispatchEvent(PassRefPtrWillBeRawPtr<Event> prpEvent, PassRefPtrWillBeR awPtr<EventTarget> prpTarget); 179 bool dispatchEvent(PassRefPtrWillBeRawPtr<Event> prpEvent, PassRefPtrWillBeR awPtr<EventTarget> prpTarget);
180 180
181 void dispatchLoadEvent(); 181 void dispatchLoadEvent();
182 182
183 void finishedLoading(); 183 void finishedLoading();
184 184
185 ApplicationCache* optionalApplicationCache() const { return m_applicationCac he.get(); } 185 ApplicationCache* optionalApplicationCache() const { return m_applicationCac he.get(); }
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 } 284 }
285 285
286 inline String LocalDOMWindow::defaultStatus() const 286 inline String LocalDOMWindow::defaultStatus() const
287 { 287 {
288 return m_defaultStatus; 288 return m_defaultStatus;
289 } 289 }
290 290
291 } // namespace blink 291 } // namespace blink
292 292
293 #endif // LocalDOMWindow_h 293 #endif // LocalDOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698