| 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 virtual void didDisplayInsecureContent(WebLocalFrame*) { } | 313 virtual void didDisplayInsecureContent(WebLocalFrame*) { } |
| 314 | 314 |
| 315 // The indicated security origin has run active content (such as a | 315 // The indicated security origin has run active content (such as a |
| 316 // script) from an insecure source. Note that the insecure content can | 316 // script) from an insecure source. Note that the insecure content can |
| 317 // spread to other frames in the same origin. | 317 // spread to other frames in the same origin. |
| 318 virtual void didRunInsecureContent(WebLocalFrame*, const WebSecurityOrigin&,
const WebURL& insecureURL) { } | 318 virtual void didRunInsecureContent(WebLocalFrame*, const WebSecurityOrigin&,
const WebURL& insecureURL) { } |
| 319 | 319 |
| 320 // A reflected XSS was encountered in the page and suppressed. | 320 // A reflected XSS was encountered in the page and suppressed. |
| 321 virtual void didDetectXSS(WebLocalFrame*, const WebURL&, bool didBlockEntire
Page) { } | 321 virtual void didDetectXSS(WebLocalFrame*, const WebURL&, bool didBlockEntire
Page) { } |
| 322 | 322 |
| 323 // A PingLoader was created, and a request dispatched to a URL. | 323 // A uni-directional loader (e.g., ping, beacon) was created, and a request
dispatched to a URL. |
| 324 // TODO: rename to didDispatchSimplexLoader() |
| 324 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { } | 325 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { } |
| 325 | 326 |
| 326 // The loaders in this frame have been stopped. | 327 // The loaders in this frame have been stopped. |
| 327 virtual void didAbortLoading(WebLocalFrame*) { } | 328 virtual void didAbortLoading(WebLocalFrame*) { } |
| 328 | 329 |
| 329 // Script notifications ------------------------------------------------ | 330 // Script notifications ------------------------------------------------ |
| 330 | 331 |
| 331 // Notifies that a new script context has been created for this frame. | 332 // Notifies that a new script context has been created for this frame. |
| 332 // This is similar to didClearWindowObject but only called once per | 333 // This is similar to didClearWindowObject but only called once per |
| 333 // frame context. | 334 // frame context. |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | 434 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
| 434 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | 435 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
| 435 | 436 |
| 436 protected: | 437 protected: |
| 437 ~WebFrameClient() { } | 438 ~WebFrameClient() { } |
| 438 }; | 439 }; |
| 439 | 440 |
| 440 } // namespace blink | 441 } // namespace blink |
| 441 | 442 |
| 442 #endif | 443 #endif |
| OLD | NEW |