| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 WebFrame*, unsigned identifier) = 0; | 191 WebFrame*, unsigned identifier) = 0; |
| 192 | 192 |
| 193 // The resource request given by identifier failed. | 193 // The resource request given by identifier failed. |
| 194 virtual void didFailResourceLoad( | 194 virtual void didFailResourceLoad( |
| 195 WebFrame*, unsigned identifier, const WebURLError&) = 0; | 195 WebFrame*, unsigned identifier, const WebURLError&) = 0; |
| 196 | 196 |
| 197 // The specified request was satified from WebCore's memory cache. | 197 // The specified request was satified from WebCore's memory cache. |
| 198 virtual void didLoadResourceFromMemoryCache( | 198 virtual void didLoadResourceFromMemoryCache( |
| 199 WebFrame*, const WebURLRequest&, const WebURLResponse&) = 0; | 199 WebFrame*, const WebURLRequest&, const WebURLResponse&) = 0; |
| 200 | 200 |
| 201 // This frame has displayed inactive content (such as an image) from an |
| 202 // insecure source. Inactive content cannot spread to other frames. |
| 203 virtual void didDisplayInsecureContent(WebFrame*) = 0; |
| 204 |
| 205 // The indicated security origin has run active content (such as a |
| 206 // script) from an insecure source. Note that the insecure content can |
| 207 // spread to other frames in the same origin. |
| 208 virtual void didRunInsecureContent( |
| 209 WebFrame*, const WebString& securityOrigin) = 0; |
| 210 |
| 201 | 211 |
| 202 // Script notifications ------------------------------------------------ | 212 // Script notifications ------------------------------------------------ |
| 203 | 213 |
| 204 // Script in the page tried to allocate too much memory. | 214 // Script in the page tried to allocate too much memory. |
| 205 virtual void didExhaustMemoryAvailableForScript(WebFrame*) = 0; | 215 virtual void didExhaustMemoryAvailableForScript(WebFrame*) = 0; |
| 206 | 216 |
| 207 | 217 |
| 208 // Geometry notifications ---------------------------------------------- | 218 // Geometry notifications ---------------------------------------------- |
| 209 | 219 |
| 210 // The size of the content area changed. | 220 // The size of the content area changed. |
| 211 virtual void didChangeContentsSize(WebFrame*, const WebSize&) = 0; | 221 virtual void didChangeContentsSize(WebFrame*, const WebSize&) = 0; |
| 212 | 222 |
| 213 | 223 |
| 214 // FIXME need to add: | 224 // FIXME need to add: |
| 215 // find-in-page | 225 // find-in-page |
| 216 | 226 |
| 217 protected: | 227 protected: |
| 218 ~WebFrameClient() { } | 228 ~WebFrameClient() { } |
| 219 }; | 229 }; |
| 220 | 230 |
| 221 } // namespace WebKit | 231 } // namespace WebKit |
| 222 | 232 |
| 223 #endif | 233 #endif |
| OLD | NEW |