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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 namespace blink { | 51 namespace blink { |
52 | 52 |
53 class DocumentLoader; | 53 class DocumentLoader; |
54 class Frame; | 54 class Frame; |
55 class FrameLoaderClient; | 55 class FrameLoaderClient; |
56 class ProgressTracker; | 56 class ProgressTracker; |
57 class ResourceError; | 57 class ResourceError; |
58 class SerializedScriptValue; | 58 class SerializedScriptValue; |
59 class SubstituteData; | 59 class SubstituteData; |
60 | 60 enum class WebCachePolicy; |
61 struct FrameLoadRequest; | 61 struct FrameLoadRequest; |
62 | 62 |
63 CORE_EXPORT bool isBackForwardLoadType(FrameLoadType); | 63 CORE_EXPORT bool isBackForwardLoadType(FrameLoadType); |
64 | 64 |
65 class CORE_EXPORT FrameLoader final { | 65 class CORE_EXPORT FrameLoader final { |
66 WTF_MAKE_NONCOPYABLE(FrameLoader); | 66 WTF_MAKE_NONCOPYABLE(FrameLoader); |
67 DISALLOW_NEW(); | 67 DISALLOW_NEW(); |
68 public: | 68 public: |
69 static ResourceRequest resourceRequestFromHistoryItem(HistoryItem*, Resource
RequestCachePolicy); | 69 static ResourceRequest resourceRequestFromHistoryItem(HistoryItem*, WebCache
Policy); |
70 | 70 |
71 FrameLoader(LocalFrame*); | 71 FrameLoader(LocalFrame*); |
72 ~FrameLoader(); | 72 ~FrameLoader(); |
73 | 73 |
74 void init(); | 74 void init(); |
75 | 75 |
76 ResourceRequest resourceRequestForReload(FrameLoadType, const KURL& override
URL = KURL(), | 76 ResourceRequest resourceRequestForReload(FrameLoadType, const KURL& override
URL = KURL(), |
77 ClientRedirectPolicy = ClientRedirectPolicy::NotClientRedirect); | 77 ClientRedirectPolicy = ClientRedirectPolicy::NotClientRedirect); |
78 | 78 |
79 ProgressTracker& progress() const { return *m_progressTracker; } | 79 ProgressTracker& progress() const { return *m_progressTracker; } |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 | 278 |
279 SandboxFlags m_forcedSandboxFlags; | 279 SandboxFlags m_forcedSandboxFlags; |
280 | 280 |
281 bool m_dispatchingDidClearWindowObjectInMainWorld; | 281 bool m_dispatchingDidClearWindowObjectInMainWorld; |
282 bool m_protectProvisionalLoader; | 282 bool m_protectProvisionalLoader; |
283 }; | 283 }; |
284 | 284 |
285 } // namespace blink | 285 } // namespace blink |
286 | 286 |
287 #endif // FrameLoader_h | 287 #endif // FrameLoader_h |
OLD | NEW |