LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * Copyright (C) 2006-2016 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006-2016 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 * | 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 class DocumentLoader; | 47 class DocumentLoader; |
48 class FormState; | 48 class FormState; |
49 class Frame; | 49 class Frame; |
50 class NavigationAction; | 50 class NavigationAction; |
51 class ResourceError; | 51 class ResourceError; |
52 class ResourceResponse; | 52 class ResourceResponse; |
53 | 53 |
54 enum class ShouldContinue { | 54 enum class ShouldContinue { |
55 Yes, | 55 Yes, |
56 No, | 56 No, |
| 57 NoAndLockBackForwardList, |
57 ForSuspension | 58 ForSuspension |
58 }; | 59 }; |
59 | 60 |
60 enum class PolicyDecisionMode { Synchronous, Asynchronous }; | 61 enum class PolicyDecisionMode { Synchronous, Asynchronous }; |
61 | 62 |
62 using NewWindowPolicyDecisionFunction = CompletionHandler<void(const ResourceReq
uest&, FormState*, const String& frameName, const NavigationAction&, ShouldConti
nue)>; | 63 using NewWindowPolicyDecisionFunction = CompletionHandler<void(const ResourceReq
uest&, FormState*, const String& frameName, const NavigationAction&, ShouldConti
nue)>; |
63 using NavigationPolicyDecisionFunction = CompletionHandler<void(ResourceRequest&
&, FormState*, ShouldContinue)>; | 64 using NavigationPolicyDecisionFunction = CompletionHandler<void(ResourceRequest&
&, FormState*, ShouldContinue)>; |
64 | 65 |
65 class PolicyChecker { | 66 class PolicyChecker { |
66 WTF_MAKE_NONCOPYABLE(PolicyChecker); | 67 WTF_MAKE_NONCOPYABLE(PolicyChecker); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 // that WebKit conveys this value as the WebActionNavigationTypeKey value | 100 // that WebKit conveys this value as the WebActionNavigationTypeKey value |
100 // on navigation action delegate callbacks. | 101 // on navigation action delegate callbacks. |
101 FrameLoadType m_loadType; | 102 FrameLoadType m_loadType; |
102 | 103 |
103 #if ENABLE(CONTENT_FILTERING) | 104 #if ENABLE(CONTENT_FILTERING) |
104 ContentFilterUnblockHandler m_contentFilterUnblockHandler; | 105 ContentFilterUnblockHandler m_contentFilterUnblockHandler; |
105 #endif | 106 #endif |
106 }; | 107 }; |
107 | 108 |
108 } // namespace WebCore | 109 } // namespace WebCore |
LEFT | RIGHT |