OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights |
3 * reserved. | 3 * reserved. |
4 * Copyright (C) 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2012 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
115 virtual void dispatchDidFinishLoad() = 0; | 115 virtual void dispatchDidFinishLoad() = 0; |
116 virtual void dispatchDidChangeThemeColor() = 0; | 116 virtual void dispatchDidChangeThemeColor() = 0; |
117 | 117 |
118 virtual NavigationPolicy decidePolicyForNavigation( | 118 virtual NavigationPolicy decidePolicyForNavigation( |
119 const ResourceRequest&, | 119 const ResourceRequest&, |
120 DocumentLoader*, | 120 DocumentLoader*, |
121 NavigationType, | 121 NavigationType, |
122 NavigationPolicy, | 122 NavigationPolicy, |
123 bool shouldReplaceCurrentEntry, | 123 bool shouldReplaceCurrentEntry, |
124 bool isClientRedirect, | 124 bool isClientRedirect, |
125 HTMLFormElement*) = 0; | 125 HTMLFormElement*, |
126 ContentSecurityPolicyDisposition | |
127 shouldCheckMainWorldContentSecurityPolicy) = 0; | |
dcheng
2017/03/13 19:02:54
Main world or main frame?
ncarter (slow)
2017/03/13 21:18:53
Main world is right. Isolated worlds (e.g. user sc
| |
126 | 128 |
127 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0; | 129 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0; |
128 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; | 130 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; |
129 | 131 |
130 virtual void didStartLoading(LoadStartType) = 0; | 132 virtual void didStartLoading(LoadStartType) = 0; |
131 virtual void progressEstimateChanged(double progressEstimate) = 0; | 133 virtual void progressEstimateChanged(double progressEstimate) = 0; |
132 virtual void didStopLoading() = 0; | 134 virtual void didStopLoading() = 0; |
133 | 135 |
134 virtual void loadURLExternally(const ResourceRequest&, | 136 virtual void loadURLExternally(const ResourceRequest&, |
135 NavigationPolicy, | 137 NavigationPolicy, |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
341 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 343 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
342 | 344 |
343 virtual BlameContext* frameBlameContext() { return nullptr; } | 345 virtual BlameContext* frameBlameContext() { return nullptr; } |
344 | 346 |
345 virtual void setHasReceivedUserGesture() {} | 347 virtual void setHasReceivedUserGesture() {} |
346 }; | 348 }; |
347 | 349 |
348 } // namespace blink | 350 } // namespace blink |
349 | 351 |
350 #endif // LocalFrameClient_h | 352 #endif // LocalFrameClient_h |
OLD | NEW |