| 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 virtual void didDetectXSS(WebFrame*, const WebURL&, bool didBlockEntirePage)
{ } | 281 virtual void didDetectXSS(WebFrame*, const WebURL&, bool didBlockEntirePage)
{ } |
| 282 | 282 |
| 283 // A PingLoader was created, and a request dispatched to a URL. | 283 // A PingLoader was created, and a request dispatched to a URL. |
| 284 virtual void didDispatchPingLoader(WebFrame*, const WebURL&) { } | 284 virtual void didDispatchPingLoader(WebFrame*, const WebURL&) { } |
| 285 | 285 |
| 286 // The loaders in this frame have been stopped. | 286 // The loaders in this frame have been stopped. |
| 287 virtual void didAbortLoading(WebFrame*) { } | 287 virtual void didAbortLoading(WebFrame*) { } |
| 288 | 288 |
| 289 // Script notifications ------------------------------------------------ | 289 // Script notifications ------------------------------------------------ |
| 290 | 290 |
| 291 // Script in the page tried to allocate too much memory. | |
| 292 virtual void didExhaustMemoryAvailableForScript(WebFrame*) { } | |
| 293 | |
| 294 // Notifies that a new script context has been created for this frame. | 291 // Notifies that a new script context has been created for this frame. |
| 295 // This is similar to didClearWindowObject but only called once per | 292 // This is similar to didClearWindowObject but only called once per |
| 296 // frame context. | 293 // frame context. |
| 297 virtual void didCreateScriptContext(WebFrame*, v8::Handle<v8::Context>, int
extensionGroup, int worldId) { } | 294 virtual void didCreateScriptContext(WebFrame*, v8::Handle<v8::Context>, int
extensionGroup, int worldId) { } |
| 298 | 295 |
| 299 // WebKit is about to release its reference to a v8 context for a frame. | 296 // WebKit is about to release its reference to a v8 context for a frame. |
| 300 virtual void willReleaseScriptContext(WebFrame*, v8::Handle<v8::Context>, in
t worldId) { } | 297 virtual void willReleaseScriptContext(WebFrame*, v8::Handle<v8::Context>, in
t worldId) { } |
| 301 | 298 |
| 302 // Geometry notifications ---------------------------------------------- | 299 // Geometry notifications ---------------------------------------------- |
| 303 | 300 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | 393 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
| 397 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | 394 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
| 398 | 395 |
| 399 protected: | 396 protected: |
| 400 ~WebFrameClient() { } | 397 ~WebFrameClient() { } |
| 401 }; | 398 }; |
| 402 | 399 |
| 403 } // namespace blink | 400 } // namespace blink |
| 404 | 401 |
| 405 #endif | 402 #endif |
| OLD | NEW |