OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
4 * Copyright (C) Research In Motion Limited 2009. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2009. All rights reserved. |
5 * Copyright (C) 2011 Google Inc. All rights reserved. | 5 * Copyright (C) 2011 Google Inc. All rights reserved. |
6 * | 6 * |
7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
9 * are met: | 9 * are met: |
10 * | 10 * |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 bool checkIfFormActionAllowedByCSP(const KURL&) const; | 214 bool checkIfFormActionAllowedByCSP(const KURL&) const; |
215 | 215 |
216 Frame* opener(); | 216 Frame* opener(); |
217 void setOpener(Frame*); | 217 void setOpener(Frame*); |
218 | 218 |
219 void resetMultipleFormSubmissionProtection(); | 219 void resetMultipleFormSubmissionProtection(); |
220 | 220 |
221 void checkCallImplicitClose(); | 221 void checkCallImplicitClose(); |
222 | 222 |
223 void frameDetached(); | 223 void frameDetached(); |
| 224 bool isFrameDetaching(); |
224 | 225 |
225 void setOutgoingReferrer(const KURL&); | 226 void setOutgoingReferrer(const KURL&); |
226 | 227 |
227 void loadDone(); | 228 void loadDone(); |
228 void finishedParsing(); | 229 void finishedParsing(); |
229 void checkCompleted(); | 230 void checkCompleted(); |
230 | 231 |
231 bool isComplete() const; | 232 bool isComplete() const; |
232 | 233 |
233 void setTitle(const StringWithDirection&); | 234 void setTitle(const StringWithDirection&); |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 bool m_didAccessInitialDocument; | 414 bool m_didAccessInitialDocument; |
414 Timer<FrameLoader> m_didAccessInitialDocumentTimer; | 415 Timer<FrameLoader> m_didAccessInitialDocumentTimer; |
415 bool m_suppressOpenerInNewFrame; | 416 bool m_suppressOpenerInNewFrame; |
416 | 417 |
417 SandboxFlags m_forcedSandboxFlags; | 418 SandboxFlags m_forcedSandboxFlags; |
418 | 419 |
419 RefPtr<FrameNetworkingContext> m_networkingContext; | 420 RefPtr<FrameNetworkingContext> m_networkingContext; |
420 | 421 |
421 KURL m_previousURL; | 422 KURL m_previousURL; |
422 RefPtr<HistoryItem> m_requestedHistoryItem; | 423 RefPtr<HistoryItem> m_requestedHistoryItem; |
| 424 |
| 425 bool m_frameDetaching; |
423 }; | 426 }; |
424 | 427 |
425 // This function is called by createWindow() in JSDOMWindowBase.cpp, for example
, for | 428 // This function is called by createWindow() in JSDOMWindowBase.cpp, for example
, for |
426 // modal dialog creation. The lookupFrame is for looking up the frame name in c
ase | 429 // modal dialog creation. The lookupFrame is for looking up the frame name in c
ase |
427 // the frame name references a frame different from the openerFrame, e.g. when i
t is | 430 // the frame name references a frame different from the openerFrame, e.g. when i
t is |
428 // "_self" or "_parent". | 431 // "_self" or "_parent". |
429 // | 432 // |
430 // FIXME: Consider making this function part of an appropriate class (not FrameL
oader) | 433 // FIXME: Consider making this function part of an appropriate class (not FrameL
oader) |
431 // and moving it to a more appropriate location. | 434 // and moving it to a more appropriate location. |
432 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque
st&, const WindowFeatures&, bool& created); | 435 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque
st&, const WindowFeatures&, bool& created); |
433 | 436 |
434 } // namespace WebCore | 437 } // namespace WebCore |
435 | 438 |
436 #endif // FrameLoader_h | 439 #endif // FrameLoader_h |
OLD | NEW |