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

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

Issue 2146343002: Revert of Remove DOMWindowProperty::willDetachGlobalObjectFromFrame Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 186
187 using EventTarget::dispatchEvent; 187 using EventTarget::dispatchEvent;
188 DispatchEventResult dispatchEvent(Event*, EventTarget*); 188 DispatchEventResult dispatchEvent(Event*, EventTarget*);
189 189
190 void finishedLoading(); 190 void finishedLoading();
191 191
192 // Dispatch the (deprecated) orientationchange event to this DOMWindow and 192 // Dispatch the (deprecated) orientationchange event to this DOMWindow and
193 // recurse on its child frames. 193 // recurse on its child frames.
194 void sendOrientationChangeEvent(); 194 void sendOrientationChangeEvent();
195 195
196 void willDetachDocumentFromFrame();
197
196 EventQueue* getEventQueue() const; 198 EventQueue* getEventQueue() const;
197 void enqueueWindowEvent(Event*); 199 void enqueueWindowEvent(Event*);
198 void enqueueDocumentEvent(Event*); 200 void enqueueDocumentEvent(Event*);
199 void enqueuePageshowEvent(PageshowEventPersistence); 201 void enqueuePageshowEvent(PageshowEventPersistence);
200 void enqueueHashchangeEvent(const String& oldURL, const String& newURL); 202 void enqueueHashchangeEvent(const String& oldURL, const String& newURL);
201 void enqueuePopstateEvent(PassRefPtr<SerializedScriptValue>); 203 void enqueuePopstateEvent(PassRefPtr<SerializedScriptValue>);
202 void dispatchWindowLoadEvent(); 204 void dispatchWindowLoadEvent();
203 void documentWasClosed(); 205 void documentWasClosed();
204 void statePopped(PassRefPtr<SerializedScriptValue>); 206 void statePopped(PassRefPtr<SerializedScriptValue>);
205 207
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 } 278 }
277 279
278 inline String LocalDOMWindow::defaultStatus() const 280 inline String LocalDOMWindow::defaultStatus() const
279 { 281 {
280 return m_defaultStatus; 282 return m_defaultStatus;
281 } 283 }
282 284
283 } // namespace blink 285 } // namespace blink
284 286
285 #endif // LocalDOMWindow_h 287 #endif // LocalDOMWindow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMWindowProperty.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