OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 virtual void didEnforceStrictMixedContentChecking() {} | 182 virtual void didEnforceStrictMixedContentChecking() {} |
183 | 183 |
184 // The sandbox flags have changed for a child frame of this frame. | 184 // The sandbox flags have changed for a child frame of this frame. |
185 virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags fla
gs) { } | 185 virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags fla
gs) { } |
186 | 186 |
187 // Some frame owner properties have changed for a child frame of this frame. | 187 // Some frame owner properties have changed for a child frame of this frame. |
188 // Frame owner properties currently include: scrolling, marginwidth and | 188 // Frame owner properties currently include: scrolling, marginwidth and |
189 // marginheight. | 189 // marginheight. |
190 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, const WebFr
ameOwnerProperties&) { } | 190 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, const WebFr
ameOwnerProperties&) { } |
191 | 191 |
| 192 // This frame was blocked due to X-Frame-Options or CSP frame-ancestors. |
| 193 virtual void didBlockLoad() { } |
| 194 |
192 // Called when a watched CSS selector matches or stops matching. | 195 // Called when a watched CSS selector matches or stops matching. |
193 virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMa
tchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } | 196 virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMa
tchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } |
194 | 197 |
195 | 198 |
196 // Console messages ---------------------------------------------------- | 199 // Console messages ---------------------------------------------------- |
197 | 200 |
198 // Whether or not we should report a detailed message for the given source. | 201 // Whether or not we should report a detailed message for the given source. |
199 virtual bool shouldReportDetailedMessageForSource(const WebString& source) {
return false; } | 202 virtual bool shouldReportDetailedMessageForSource(const WebString& source) {
return false; } |
200 | 203 |
201 // A new message was added to the console. | 204 // A new message was added to the console. |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 // This method takes ownership of the callbacks pointer. | 702 // This method takes ownership of the callbacks pointer. |
700 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 703 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
701 | 704 |
702 protected: | 705 protected: |
703 virtual ~WebFrameClient() { } | 706 virtual ~WebFrameClient() { } |
704 }; | 707 }; |
705 | 708 |
706 } // namespace blink | 709 } // namespace blink |
707 | 710 |
708 #endif | 711 #endif |
OLD | NEW |