| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 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 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 class ResourceResponse; | 63 class ResourceResponse; |
| 64 class ScriptSourceCode; | 64 class ScriptSourceCode; |
| 65 class ScriptString; | 65 class ScriptString; |
| 66 class ScriptValue; | 66 class ScriptValue; |
| 67 class SecurityOrigin; | 67 class SecurityOrigin; |
| 68 class SharedBuffer; | 68 class SharedBuffer; |
| 69 class SubstituteData; | 69 class SubstituteData; |
| 70 class TextResourceDecoder; | 70 class TextResourceDecoder; |
| 71 class Widget; | 71 class Widget; |
| 72 | 72 |
| 73 #if ENABLE(APPLICATION_CACHE) |
| 74 class ApplicationCacheFrontend; |
| 75 #endif |
| 76 |
| 73 struct FrameLoadRequest; | 77 struct FrameLoadRequest; |
| 74 struct ScheduledRedirection; | 78 struct ScheduledRedirection; |
| 75 struct WindowFeatures; | 79 struct WindowFeatures; |
| 76 | 80 |
| 77 bool isBackForwardLoadType(FrameLoadType); | 81 bool isBackForwardLoadType(FrameLoadType); |
| 78 | 82 |
| 79 typedef void (*NavigationPolicyDecisionFunction)(void* argument, | 83 typedef void (*NavigationPolicyDecisionFunction)(void* argument, |
| 80 const ResourceRequest&, PassRefPtr<FormState>, bool shouldContinue); | 84 const ResourceRequest&, PassRefPtr<FormState>, bool shouldContinue); |
| 81 typedef void (*NewWindowPolicyDecisionFunction)(void* argument, | 85 typedef void (*NewWindowPolicyDecisionFunction)(void* argument, |
| 82 const ResourceRequest&, PassRefPtr<FormState>, const String& frameName,
bool shouldContinue); | 86 const ResourceRequest&, PassRefPtr<FormState>, const String& frameName,
bool shouldContinue); |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 240 |
| 237 void didFirstVisuallyNonEmptyLayout(); | 241 void didFirstVisuallyNonEmptyLayout(); |
| 238 | 242 |
| 239 #if ENABLE(WML) | 243 #if ENABLE(WML) |
| 240 void setForceReloadWmlDeck(bool); | 244 void setForceReloadWmlDeck(bool); |
| 241 #endif | 245 #endif |
| 242 | 246 |
| 243 void loadedResourceFromMemoryCache(const CachedResource*); | 247 void loadedResourceFromMemoryCache(const CachedResource*); |
| 244 void tellClientAboutPastMemoryCacheLoads(); | 248 void tellClientAboutPastMemoryCacheLoads(); |
| 245 | 249 |
| 250 #if ENABLE(APPLICATION_CACHE) |
| 251 ApplicationCacheFrontend* appcacheFrontend() const; |
| 252 void selectInitialApplicationCache(); |
| 253 void selectApplicationCacheWithoutManifest(); |
| 254 void selectApplicationCacheWithManifest(const KURL& manifestURL); |
| 255 #endif |
| 256 |
| 246 void checkLoadComplete(); | 257 void checkLoadComplete(); |
| 247 void detachFromParent(); | 258 void detachFromParent(); |
| 248 | 259 |
| 249 void addExtraFieldsToSubresourceRequest(ResourceRequest&); | 260 void addExtraFieldsToSubresourceRequest(ResourceRequest&); |
| 250 void addExtraFieldsToMainResourceRequest(ResourceRequest&); | 261 void addExtraFieldsToMainResourceRequest(ResourceRequest&); |
| 251 | 262 |
| 252 static void addHTTPOriginIfNeeded(ResourceRequest&, String origin); | 263 static void addHTTPOriginIfNeeded(ResourceRequest&, String origin); |
| 253 | 264 |
| 254 FrameLoaderClient* client() const { return m_client; } | 265 FrameLoaderClient* client() const { return m_client; } |
| 255 | 266 |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 | 640 |
| 630 bool m_didPerformFirstNavigation; | 641 bool m_didPerformFirstNavigation; |
| 631 | 642 |
| 632 #ifndef NDEBUG | 643 #ifndef NDEBUG |
| 633 bool m_didDispatchDidCommitLoad; | 644 bool m_didDispatchDidCommitLoad; |
| 634 #endif | 645 #endif |
| 635 | 646 |
| 636 #if ENABLE(WML) | 647 #if ENABLE(WML) |
| 637 bool m_forceReloadWmlDeck; | 648 bool m_forceReloadWmlDeck; |
| 638 #endif | 649 #endif |
| 650 |
| 651 #if ENABLE(APPLICATION_CACHE) |
| 652 OwnPtr<ApplicationCacheFrontend> m_appcacheFrontend; |
| 653 #endif |
| 639 }; | 654 }; |
| 640 | 655 |
| 641 } // namespace WebCore | 656 } // namespace WebCore |
| 642 | 657 |
| 643 #endif // FrameLoader_h | 658 #endif // FrameLoader_h |
| OLD | NEW |