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. | 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
4 * (http://www.torchmobile.com/) | 4 * (http://www.torchmobile.com/) |
5 * Copyright (C) Research In Motion Limited 2009. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2009. All rights reserved. |
6 * Copyright (C) 2011 Google Inc. All rights reserved. | 6 * Copyright (C) 2011 Google Inc. All rights reserved. |
7 * | 7 * |
8 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
9 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
10 * are met: | 10 * are met: |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 bool shouldContinueForNavigationPolicy(const ResourceRequest&, | 207 bool shouldContinueForNavigationPolicy(const ResourceRequest&, |
208 const SubstituteData&, | 208 const SubstituteData&, |
209 DocumentLoader*, | 209 DocumentLoader*, |
210 ContentSecurityPolicyDisposition, | 210 ContentSecurityPolicyDisposition, |
211 NavigationType, | 211 NavigationType, |
212 NavigationPolicy, | 212 NavigationPolicy, |
213 bool shouldReplaceCurrentEntry, | 213 bool shouldReplaceCurrentEntry, |
214 bool isClientRedirect, | 214 bool isClientRedirect, |
215 HTMLFormElement*); | 215 HTMLFormElement*); |
216 | 216 |
| 217 bool navigationHandledByClient() const { |
| 218 return m_isNavigationHandledByClient; |
| 219 } |
| 220 |
217 DECLARE_TRACE(); | 221 DECLARE_TRACE(); |
218 | 222 |
219 static void setReferrerForFrameRequest(FrameLoadRequest&); | 223 static void setReferrerForFrameRequest(FrameLoadRequest&); |
220 | 224 |
221 private: | 225 private: |
222 void checkTimerFired(TimerBase*); | 226 void checkTimerFired(TimerBase*); |
223 | 227 |
224 bool prepareRequestForThisFrame(FrameLoadRequest&); | 228 bool prepareRequestForThisFrame(FrameLoadRequest&); |
225 FrameLoadType determineFrameLoadType(const FrameLoadRequest&); | 229 FrameLoadType determineFrameLoadType(const FrameLoadRequest&); |
226 | 230 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 SandboxFlags m_forcedSandboxFlags; | 320 SandboxFlags m_forcedSandboxFlags; |
317 | 321 |
318 bool m_dispatchingDidClearWindowObjectInMainWorld; | 322 bool m_dispatchingDidClearWindowObjectInMainWorld; |
319 bool m_protectProvisionalLoader; | 323 bool m_protectProvisionalLoader; |
320 bool m_isNavigationHandledByClient; | 324 bool m_isNavigationHandledByClient; |
321 }; | 325 }; |
322 | 326 |
323 } // namespace blink | 327 } // namespace blink |
324 | 328 |
325 #endif // FrameLoader_h | 329 #endif // FrameLoader_h |
OLD | NEW |