| 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 24 matching lines...) Expand all Loading... |
| 35 #include "WebNavigationPolicy.h" | 35 #include "WebNavigationPolicy.h" |
| 36 #include "WebNavigationType.h" | 36 #include "WebNavigationType.h" |
| 37 | 37 |
| 38 namespace WebKit { | 38 namespace WebKit { |
| 39 class WebDataSource; | 39 class WebDataSource; |
| 40 class WebForm; | 40 class WebForm; |
| 41 class WebFrame; | 41 class WebFrame; |
| 42 class WebMediaPlayer; | 42 class WebMediaPlayer; |
| 43 class WebMediaPlayerClient; | 43 class WebMediaPlayerClient; |
| 44 class WebPlugin; | 44 class WebPlugin; |
| 45 class WebSecurityOrigin; |
| 45 class WebString; | 46 class WebString; |
| 46 class WebURL; | 47 class WebURL; |
| 47 class WebURLRequest; | 48 class WebURLRequest; |
| 48 class WebURLResponse; | 49 class WebURLResponse; |
| 49 class WebWorker; | 50 class WebWorker; |
| 50 class WebWorkerClient; | 51 class WebWorkerClient; |
| 51 struct WebPluginParams; | 52 struct WebPluginParams; |
| 52 struct WebSize; | 53 struct WebSize; |
| 53 struct WebURLError; | 54 struct WebURLError; |
| 54 | 55 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 virtual void didLoadResourceFromMemoryCache( | 199 virtual void didLoadResourceFromMemoryCache( |
| 199 WebFrame*, const WebURLRequest&, const WebURLResponse&) = 0; | 200 WebFrame*, const WebURLRequest&, const WebURLResponse&) = 0; |
| 200 | 201 |
| 201 // This frame has displayed inactive content (such as an image) from an | 202 // This frame has displayed inactive content (such as an image) from an |
| 202 // insecure source. Inactive content cannot spread to other frames. | 203 // insecure source. Inactive content cannot spread to other frames. |
| 203 virtual void didDisplayInsecureContent(WebFrame*) = 0; | 204 virtual void didDisplayInsecureContent(WebFrame*) = 0; |
| 204 | 205 |
| 205 // The indicated security origin has run active content (such as a | 206 // The indicated security origin has run active content (such as a |
| 206 // script) from an insecure source. Note that the insecure content can | 207 // script) from an insecure source. Note that the insecure content can |
| 207 // spread to other frames in the same origin. | 208 // spread to other frames in the same origin. |
| 208 virtual void didRunInsecureContent( | 209 virtual void didRunInsecureContent(WebFrame*, const WebSecurityOrigin&) = 0; |
| 209 WebFrame*, const WebString& securityOrigin) = 0; | |
| 210 | 210 |
| 211 | 211 |
| 212 // Script notifications ------------------------------------------------ | 212 // Script notifications ------------------------------------------------ |
| 213 | 213 |
| 214 // Script in the page tried to allocate too much memory. | 214 // Script in the page tried to allocate too much memory. |
| 215 virtual void didExhaustMemoryAvailableForScript(WebFrame*) = 0; | 215 virtual void didExhaustMemoryAvailableForScript(WebFrame*) = 0; |
| 216 | 216 |
| 217 | 217 |
| 218 // Geometry notifications ---------------------------------------------- | 218 // Geometry notifications ---------------------------------------------- |
| 219 | 219 |
| 220 // The size of the content area changed. | 220 // The size of the content area changed. |
| 221 virtual void didChangeContentsSize(WebFrame*, const WebSize&) = 0; | 221 virtual void didChangeContentsSize(WebFrame*, const WebSize&) = 0; |
| 222 | 222 |
| 223 | 223 |
| 224 // FIXME need to add: | 224 // FIXME need to add: |
| 225 // find-in-page | 225 // find-in-page |
| 226 | 226 |
| 227 protected: | 227 protected: |
| 228 ~WebFrameClient() { } | 228 ~WebFrameClient() { } |
| 229 }; | 229 }; |
| 230 | 230 |
| 231 } // namespace WebKit | 231 } // namespace WebKit |
| 232 | 232 |
| 233 #endif | 233 #endif |
| OLD | NEW |