| 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's strict mixed content checking setting has changed. |
| 181 virtual void didChangeShouldEnforceStrictMixedContentChecking(WebLocalFrame*
, bool shouldEnforceStrictMixedContentChecking) {} |
| 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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 // This method takes ownership of the callbacks pointer. | 691 // This method takes ownership of the callbacks pointer. |
| 689 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 692 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
| 690 | 693 |
| 691 protected: | 694 protected: |
| 692 virtual ~WebFrameClient() { } | 695 virtual ~WebFrameClient() { } |
| 693 }; | 696 }; |
| 694 | 697 |
| 695 } // namespace blink | 698 } // namespace blink |
| 696 | 699 |
| 697 #endif | 700 #endif |
| OLD | NEW |