OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2010 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
26 #ifndef FrameLoadRequest_h | 26 #ifndef FrameLoadRequest_h |
27 #define FrameLoadRequest_h | 27 #define FrameLoadRequest_h |
28 | 28 |
29 #include "core/events/Event.h" | 29 #include "core/events/Event.h" |
30 #include "core/html/HTMLFormElement.h" | 30 #include "core/html/HTMLFormElement.h" |
31 #include "core/loader/FrameLoaderTypes.h" | 31 #include "core/loader/FrameLoaderTypes.h" |
32 #include "core/loader/SubstituteData.h" | 32 #include "core/loader/SubstituteData.h" |
33 #include "platform/network/ResourceRequest.h" | 33 #include "platform/network/ResourceRequest.h" |
34 #include "weborigin/SecurityOrigin.h" | 34 #include "platform/weborigin/SecurityOrigin.h" |
35 | 35 |
36 namespace WebCore { | 36 namespace WebCore { |
37 class Frame; | 37 class Frame; |
38 | 38 |
39 struct FrameLoadRequest { | 39 struct FrameLoadRequest { |
40 public: | 40 public: |
41 explicit FrameLoadRequest(SecurityOrigin* requester) | 41 explicit FrameLoadRequest(SecurityOrigin* requester) |
42 : m_requester(requester) | 42 : m_requester(requester) |
43 , m_lockBackForwardList(false) | 43 , m_lockBackForwardList(false) |
44 , m_clientRedirect(NotClientRedirect) | 44 , m_clientRedirect(NotClientRedirect) |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 bool m_lockBackForwardList; | 108 bool m_lockBackForwardList; |
109 ClientRedirectPolicy m_clientRedirect; | 109 ClientRedirectPolicy m_clientRedirect; |
110 RefPtr<Event> m_triggeringEvent; | 110 RefPtr<Event> m_triggeringEvent; |
111 RefPtr<FormState> m_formState; | 111 RefPtr<FormState> m_formState; |
112 ShouldSendReferrer m_shouldSendReferrer; | 112 ShouldSendReferrer m_shouldSendReferrer; |
113 }; | 113 }; |
114 | 114 |
115 } | 115 } |
116 | 116 |
117 #endif // FrameLoadRequest_h | 117 #endif // FrameLoadRequest_h |
OLD | NEW |