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

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

Issue 1479923002: Enumerate the return value of dispatchEvent so it is clear. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_passive_uma_add
Patch Set: Fix typo Created 4 years, 9 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
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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 void postMessageTimerFired(PostMessageTimer*); 169 void postMessageTimerFired(PostMessageTimer*);
170 void removePostMessageTimer(PostMessageTimer*); 170 void removePostMessageTimer(PostMessageTimer*);
171 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigi n, PassRefPtrWillBeRawPtr<Event>, PassRefPtr<ScriptCallStack>); 171 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigi n, PassRefPtrWillBeRawPtr<Event>, PassRefPtr<ScriptCallStack>);
172 172
173 // Events 173 // Events
174 // EventTarget API 174 // EventTarget API
175 void removeAllEventListeners() override; 175 void removeAllEventListeners() override;
176 176
177 using EventTarget::dispatchEvent; 177 using EventTarget::dispatchEvent;
178 bool dispatchEvent(PassRefPtrWillBeRawPtr<Event> prpEvent, PassRefPtrWillBeR awPtr<EventTarget> prpTarget); 178 DispatchEventResult dispatchEvent(PassRefPtrWillBeRawPtr<Event> prpEvent, Pa ssRefPtrWillBeRawPtr<EventTarget> prpTarget);
179 179
180 void finishedLoading(); 180 void finishedLoading();
181 181
182 // Dispatch the (deprecated) orientationchange event to this DOMWindow and 182 // Dispatch the (deprecated) orientationchange event to this DOMWindow and
183 // recurse on its child frames. 183 // recurse on its child frames.
184 void sendOrientationChangeEvent(); 184 void sendOrientationChangeEvent();
185 185
186 void willDetachDocumentFromFrame(); 186 void willDetachDocumentFromFrame();
187 187
188 EventQueue* eventQueue() const; 188 EventQueue* eventQueue() const;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 } 283 }
284 284
285 inline String LocalDOMWindow::defaultStatus() const 285 inline String LocalDOMWindow::defaultStatus() const
286 { 286 {
287 return m_defaultStatus; 287 return m_defaultStatus;
288 } 288 }
289 289
290 } // namespace blink 290 } // namespace blink
291 291
292 #endif // LocalDOMWindow_h 292 #endif // LocalDOMWindow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/WheelEvent.cpp ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698