| 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 // The resource request given by identifier succeeded. | 421 // The resource request given by identifier succeeded. |
| 422 virtual void didFinishResourceLoad( | 422 virtual void didFinishResourceLoad( |
| 423 WebLocalFrame*, unsigned identifier) { } | 423 WebLocalFrame*, unsigned identifier) { } |
| 424 | 424 |
| 425 // The specified request was satified from WebCore's memory cache. | 425 // The specified request was satified from WebCore's memory cache. |
| 426 virtual void didLoadResourceFromMemoryCache( | 426 virtual void didLoadResourceFromMemoryCache( |
| 427 WebLocalFrame*, const WebURLRequest&, const WebURLResponse&) { } | 427 WebLocalFrame*, const WebURLRequest&, const WebURLResponse&) { } |
| 428 | 428 |
| 429 // This frame has displayed inactive content (such as an image) from an | 429 // This frame has displayed inactive content (such as an image) from an |
| 430 // insecure source. Inactive content cannot spread to other frames. | 430 // insecure source. Inactive content cannot spread to other frames. |
| 431 virtual void didDisplayInsecureContent(WebLocalFrame*) { } | 431 virtual void didDisplayInsecureContent() { } |
| 432 | 432 |
| 433 // The indicated security origin has run active content (such as a | 433 // The indicated security origin has run active content (such as a |
| 434 // script) from an insecure source. Note that the insecure content can | 434 // script) from an insecure source. Note that the insecure content can |
| 435 // spread to other frames in the same origin. | 435 // spread to other frames in the same origin. |
| 436 virtual void didRunInsecureContent(WebLocalFrame*, const WebSecurityOrigin&,
const WebURL& insecureURL) { } | 436 virtual void didRunInsecureContent(const WebSecurityOrigin&, const WebURL& i
nsecureURL) { } |
| 437 | 437 |
| 438 // A reflected XSS was encountered in the page and suppressed. | 438 // A reflected XSS was encountered in the page and suppressed. |
| 439 virtual void didDetectXSS(WebLocalFrame*, const WebURL&, bool didBlockEntire
Page) { } | 439 virtual void didDetectXSS(const WebURL&, bool didBlockEntirePage) { } |
| 440 | 440 |
| 441 // A PingLoader was created, and a request dispatched to a URL. | 441 // A PingLoader was created, and a request dispatched to a URL. |
| 442 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { } | 442 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { } |
| 443 | 443 |
| 444 // A performance timing event (e.g. first paint) occurred | 444 // A performance timing event (e.g. first paint) occurred |
| 445 virtual void didChangePerformanceTiming() { } | 445 virtual void didChangePerformanceTiming() { } |
| 446 | 446 |
| 447 // The loaders in this frame have been stopped. | 447 // The loaders in this frame have been stopped. |
| 448 virtual void didAbortLoading(WebLocalFrame*) { } | 448 virtual void didAbortLoading(WebLocalFrame*) { } |
| 449 | 449 |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 // WebUSB -------------------------------------------------------------- | 662 // WebUSB -------------------------------------------------------------- |
| 663 virtual WebUSBClient* usbClient() { return nullptr; } | 663 virtual WebUSBClient* usbClient() { return nullptr; } |
| 664 | 664 |
| 665 protected: | 665 protected: |
| 666 virtual ~WebFrameClient() { } | 666 virtual ~WebFrameClient() { } |
| 667 }; | 667 }; |
| 668 | 668 |
| 669 } // namespace blink | 669 } // namespace blink |
| 670 | 670 |
| 671 #endif | 671 #endif |
| OLD | NEW |