| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags fla
gs) { } | 181 virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags fla
gs) { } |
| 182 | 182 |
| 183 // Some frame owner properties have changed for a child frame of this frame. | 183 // Some frame owner properties have changed for a child frame of this frame. |
| 184 // Frame owner properties currently include: scrolling, marginwidth and | 184 // Frame owner properties currently include: scrolling, marginwidth and |
| 185 // marginheight. | 185 // marginheight. |
| 186 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, const WebFr
ameOwnerProperties&) { } | 186 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, const WebFr
ameOwnerProperties&) { } |
| 187 | 187 |
| 188 // Called when a watched CSS selector matches or stops matching. | 188 // Called when a watched CSS selector matches or stops matching. |
| 189 virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMa
tchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } | 189 virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMa
tchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } |
| 190 | 190 |
| 191 | |
| 192 // Console messages ---------------------------------------------------- | 191 // Console messages ---------------------------------------------------- |
| 193 | 192 |
| 194 // Whether or not we should report a detailed message for the given source. | 193 // Whether or not we should report a detailed message for the given source. |
| 195 virtual bool shouldReportDetailedMessageForSource(const WebString& source) {
return false; } | 194 virtual bool shouldReportDetailedMessageForSource(const WebString& source) {
return false; } |
| 196 | 195 |
| 197 // A new message was added to the console. | 196 // A new message was added to the console. |
| 198 virtual void didAddMessageToConsole(const WebConsoleMessage&, const WebStrin
g& sourceName, unsigned sourceLine, const WebString& stackTrace) { } | 197 virtual void didAddMessageToConsole(const WebConsoleMessage&, const WebStrin
g& sourceName, unsigned sourceLine, const WebString& stackTrace) { } |
| 199 | 198 |
| 200 | 199 |
| 201 // Load commands ------------------------------------------------------- | 200 // Load commands ------------------------------------------------------- |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 // This method takes ownership of the callbacks pointer. | 686 // This method takes ownership of the callbacks pointer. |
| 688 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 687 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
| 689 | 688 |
| 690 protected: | 689 protected: |
| 691 virtual ~WebFrameClient() { } | 690 virtual ~WebFrameClient() { } |
| 692 }; | 691 }; |
| 693 | 692 |
| 694 } // namespace blink | 693 } // namespace blink |
| 695 | 694 |
| 696 #endif | 695 #endif |
| OLD | NEW |