| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 // This frame has become focused.. | 170 // This frame has become focused.. |
| 171 virtual void frameFocused() { } | 171 virtual void frameFocused() { } |
| 172 | 172 |
| 173 // This frame is about to be closed. This is called after frameDetached, | 173 // This frame is about to be closed. This is called after frameDetached, |
| 174 // when the document is being unloaded, due to new one committing. | 174 // when the document is being unloaded, due to new one committing. |
| 175 virtual void willClose(WebFrame*) { } | 175 virtual void willClose(WebFrame*) { } |
| 176 | 176 |
| 177 // This frame's name has changed. | 177 // This frame's name has changed. |
| 178 virtual void didChangeName(WebLocalFrame*, const WebString&) { } | 178 virtual void didChangeName(WebLocalFrame*, const WebString&) { } |
| 179 | 179 |
| 180 // This frame has been set to enforce strict mixed content checking. |
| 181 virtual void didEnforceStrictMixedContentChecking() {} |
| 182 |
| 180 // The sandbox flags have changed for a child frame of this frame. | 183 // The sandbox flags have changed for a child frame of this frame. |
| 181 virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags fla
gs) { } | 184 virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags fla
gs) { } |
| 182 | 185 |
| 183 // Some frame owner properties have changed for a child frame of this frame. | 186 // Some frame owner properties have changed for a child frame of this frame. |
| 184 // Frame owner properties currently include: scrolling, marginwidth and | 187 // Frame owner properties currently include: scrolling, marginwidth and |
| 185 // marginheight. | 188 // marginheight. |
| 186 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, const WebFr
ameOwnerProperties&) { } | 189 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, const WebFr
ameOwnerProperties&) { } |
| 187 | 190 |
| 188 // Called when a watched CSS selector matches or stops matching. | 191 // Called when a watched CSS selector matches or stops matching. |
| 189 virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMa
tchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } | 192 virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMa
tchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 // This method takes ownership of the callbacks pointer. | 690 // This method takes ownership of the callbacks pointer. |
| 688 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 691 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
| 689 | 692 |
| 690 protected: | 693 protected: |
| 691 virtual ~WebFrameClient() { } | 694 virtual ~WebFrameClient() { } |
| 692 }; | 695 }; |
| 693 | 696 |
| 694 } // namespace blink | 697 } // namespace blink |
| 695 | 698 |
| 696 #endif | 699 #endif |
| OLD | NEW |