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

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: Rebase Created 5 years 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 170
171 void postMessageTimerFired(PostMessageTimer*); 171 void postMessageTimerFired(PostMessageTimer*);
172 void removePostMessageTimer(PostMessageTimer*); 172 void removePostMessageTimer(PostMessageTimer*);
173 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigi n, PassRefPtrWillBeRawPtr<Event>, PassRefPtrWillBeRawPtr<ScriptCallStack>); 173 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigi n, PassRefPtrWillBeRawPtr<Event>, PassRefPtrWillBeRawPtr<ScriptCallStack>);
174 174
175 // Events 175 // Events
176 // EventTarget API 176 // EventTarget API
177 void removeAllEventListeners() override; 177 void removeAllEventListeners() override;
178 178
179 using EventTarget::dispatchEvent; 179 using EventTarget::dispatchEvent;
180 bool dispatchEvent(PassRefPtrWillBeRawPtr<Event> prpEvent, PassRefPtrWillBeR awPtr<EventTarget> prpTarget); 180 WebInputEventResult dispatchEvent(PassRefPtrWillBeRawPtr<Event> prpEvent, Pa ssRefPtrWillBeRawPtr<EventTarget> prpTarget);
181 181
182 void dispatchLoadEvent(); 182 void dispatchLoadEvent();
183 183
184 void finishedLoading(); 184 void finishedLoading();
185 185
186 ApplicationCache* optionalApplicationCache() const { return m_applicationCac he.get(); } 186 ApplicationCache* optionalApplicationCache() const { return m_applicationCac he.get(); }
187 187
188 // Dispatch the (deprecated) orientationchange event to this DOMWindow and 188 // Dispatch the (deprecated) orientationchange event to this DOMWindow and
189 // recurse on its child frames. 189 // recurse on its child frames.
190 void sendOrientationChangeEvent(); 190 void sendOrientationChangeEvent();
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 } 290 }
291 291
292 inline String LocalDOMWindow::defaultStatus() const 292 inline String LocalDOMWindow::defaultStatus() const
293 { 293 {
294 return m_defaultStatus; 294 return m_defaultStatus;
295 } 295 }
296 296
297 } // namespace blink 297 } // namespace blink
298 298
299 #endif // LocalDOMWindow_h 299 #endif // LocalDOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698