| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 virtual void dispatchDidChangeIcons(IconType) = 0; | 110 virtual void dispatchDidChangeIcons(IconType) = 0; |
| 111 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0; | 111 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0; |
| 112 virtual void dispatchDidFailProvisionalLoad(const ResourceError&, | 112 virtual void dispatchDidFailProvisionalLoad(const ResourceError&, |
| 113 HistoryCommitType) = 0; | 113 HistoryCommitType) = 0; |
| 114 virtual void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) = 0; | 114 virtual void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) = 0; |
| 115 virtual void dispatchDidFinishDocumentLoad() = 0; | 115 virtual void dispatchDidFinishDocumentLoad() = 0; |
| 116 virtual void dispatchDidFinishLoad() = 0; | 116 virtual void dispatchDidFinishLoad() = 0; |
| 117 virtual void dispatchDidChangeThemeColor() = 0; | 117 virtual void dispatchDidChangeThemeColor() = 0; |
| 118 | 118 |
| 119 virtual NavigationPolicy decidePolicyForNavigation( | 119 virtual NavigationPolicy decidePolicyForNavigation( |
| 120 Document* originDocument, |
| 120 const ResourceRequest&, | 121 const ResourceRequest&, |
| 121 DocumentLoader*, | 122 DocumentLoader*, |
| 122 NavigationType, | 123 NavigationType, |
| 123 NavigationPolicy, | 124 NavigationPolicy, |
| 124 bool shouldReplaceCurrentEntry, | 125 bool shouldReplaceCurrentEntry, |
| 125 bool isClientRedirect, | 126 bool isClientRedirect, |
| 126 HTMLFormElement*, | 127 HTMLFormElement*, |
| 127 ContentSecurityPolicyDisposition | 128 ContentSecurityPolicyDisposition |
| 128 shouldCheckMainWorldContentSecurityPolicy) = 0; | 129 shouldCheckMainWorldContentSecurityPolicy) = 0; |
| 129 | 130 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) {} | 175 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) {} |
| 175 | 176 |
| 176 // Transmits the change in the set of watched CSS selectors property that | 177 // Transmits the change in the set of watched CSS selectors property that |
| 177 // match any element on the frame. | 178 // match any element on the frame. |
| 178 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, | 179 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, |
| 179 const Vector<String>& removedSelectors) = 0; | 180 const Vector<String>& removedSelectors) = 0; |
| 180 | 181 |
| 181 virtual DocumentLoader* createDocumentLoader(LocalFrame*, | 182 virtual DocumentLoader* createDocumentLoader(LocalFrame*, |
| 182 const ResourceRequest&, | 183 const ResourceRequest&, |
| 183 const SubstituteData&, | 184 const SubstituteData&, |
| 184 ClientRedirectPolicy) = 0; | 185 ClientRedirectPolicy, |
| 186 Document* originDocument) = 0; |
| 185 | 187 |
| 186 virtual String userAgent() = 0; | 188 virtual String userAgent() = 0; |
| 187 | 189 |
| 188 virtual String doNotTrackValue() = 0; | 190 virtual String doNotTrackValue() = 0; |
| 189 | 191 |
| 190 virtual void transitionToCommittedForNewPage() = 0; | 192 virtual void transitionToCommittedForNewPage() = 0; |
| 191 | 193 |
| 192 virtual LocalFrame* createFrame(const FrameLoadRequest&, | 194 virtual LocalFrame* createFrame(const FrameLoadRequest&, |
| 193 const AtomicString& name, | 195 const AtomicString& name, |
| 194 HTMLFrameOwnerElement*) = 0; | 196 HTMLFrameOwnerElement*) = 0; |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 virtual void abortClientNavigation() {} | 349 virtual void abortClientNavigation() {} |
| 348 }; | 350 }; |
| 349 | 351 |
| 350 } // namespace blink | 352 } // namespace blink |
| 351 | 353 |
| 352 #endif // LocalFrameClient_h | 354 #endif // LocalFrameClient_h |
| OLD | NEW |