| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 virtual void didDisownOpener(WebLocalFrame*) { } | 134 virtual void didDisownOpener(WebLocalFrame*) { } |
| 135 | 135 |
| 136 // This frame has been detached from the view, but has not been closed yet. | 136 // This frame has been detached from the view, but has not been closed yet. |
| 137 virtual void frameDetached(WebFrame*) { } | 137 virtual void frameDetached(WebFrame*) { } |
| 138 | 138 |
| 139 // This frame has become focused.. | 139 // This frame has become focused.. |
| 140 virtual void frameFocused() { } | 140 virtual void frameFocused() { } |
| 141 | 141 |
| 142 // This frame is about to be closed. This is called after frameDetached, | 142 // This frame is about to be closed. This is called after frameDetached, |
| 143 // when the document is being unloaded, due to new one committing. | 143 // when the document is being unloaded, due to new one committing. |
| 144 virtual void willClose(WebLocalFrame*) { } | 144 virtual void willClose(WebFrame*) { } |
| 145 | 145 |
| 146 // This frame's name has changed. | 146 // This frame's name has changed. |
| 147 virtual void didChangeName(WebLocalFrame*, const WebString&) { } | 147 virtual void didChangeName(WebLocalFrame*, const WebString&) { } |
| 148 | 148 |
| 149 // Called when a watched CSS selector matches or stops matching. | 149 // Called when a watched CSS selector matches or stops matching. |
| 150 virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMa
tchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } | 150 virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMa
tchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } |
| 151 | 151 |
| 152 // Console messages ---------------------------------------------------- | 152 // Console messages ---------------------------------------------------- |
| 153 | 153 |
| 154 // Whether or not we should report a detailed message for the given source. | 154 // Whether or not we should report a detailed message for the given source. |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 | 287 |
| 288 // Response headers have been received for the resource request given | 288 // Response headers have been received for the resource request given |
| 289 // by identifier. | 289 // by identifier. |
| 290 virtual void didReceiveResponse( | 290 virtual void didReceiveResponse( |
| 291 WebLocalFrame*, unsigned identifier, const WebURLResponse&) { } | 291 WebLocalFrame*, unsigned identifier, const WebURLResponse&) { } |
| 292 | 292 |
| 293 virtual void didChangeResourcePriority( | 293 virtual void didChangeResourcePriority( |
| 294 WebLocalFrame*, unsigned identifier, const blink::WebURLRequest::Priorit
y&) { } | 294 WebLocalFrame*, unsigned identifier, const blink::WebURLRequest::Priorit
y&) { } |
| 295 | 295 |
| 296 virtual void didChangeResourcePriority( | 296 virtual void didChangeResourcePriority( |
| 297 WebFrame* webFrame, unsigned identifier, const blink::WebURLRequest::Pri
ority& priority, int) { didChangeResourcePriority(webFrame, identifier, priority
); } | 297 WebLocalFrame* webFrame, unsigned identifier, const blink::WebURLRequest
::Priority& priority, int) { didChangeResourcePriority(webFrame, identifier, pri
ority); } |
| 298 | 298 |
| 299 // The resource request given by identifier succeeded. | 299 // The resource request given by identifier succeeded. |
| 300 virtual void didFinishResourceLoad( | 300 virtual void didFinishResourceLoad( |
| 301 WebLocalFrame*, unsigned identifier) { } | 301 WebLocalFrame*, unsigned identifier) { } |
| 302 | 302 |
| 303 // The specified request was satified from WebCore's memory cache. | 303 // The specified request was satified from WebCore's memory cache. |
| 304 virtual void didLoadResourceFromMemoryCache( | 304 virtual void didLoadResourceFromMemoryCache( |
| 305 WebLocalFrame*, const WebURLRequest&, const WebURLResponse&) { } | 305 WebLocalFrame*, const WebURLRequest&, const WebURLResponse&) { } |
| 306 | 306 |
| 307 // This frame has displayed inactive content (such as an image) from an | 307 // This frame has displayed inactive content (such as an image) from an |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | 429 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
| 430 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | 430 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
| 431 | 431 |
| 432 protected: | 432 protected: |
| 433 ~WebFrameClient() { } | 433 ~WebFrameClient() { } |
| 434 }; | 434 }; |
| 435 | 435 |
| 436 } // namespace blink | 436 } // namespace blink |
| 437 | 437 |
| 438 #endif | 438 #endif |
| OLD | NEW |