| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * Copyright (C) 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 256 |
| 257 // This callback notifies the client that the frame was about to run | 257 // This callback notifies the client that the frame was about to run |
| 258 // JavaScript but did not because allowScript returned false. We have a | 258 // JavaScript but did not because allowScript returned false. We have a |
| 259 // separate callback here because there are a number of places that need to | 259 // separate callback here because there are a number of places that need to |
| 260 // know if JavaScript is enabled but are not necessarily preparing to execute | 260 // know if JavaScript is enabled but are not necessarily preparing to execute |
| 261 // script. | 261 // script. |
| 262 virtual void didNotAllowScript() {} | 262 virtual void didNotAllowScript() {} |
| 263 // This callback is similar, but for plugins. | 263 // This callback is similar, but for plugins. |
| 264 virtual void didNotAllowPlugins() {} | 264 virtual void didNotAllowPlugins() {} |
| 265 | 265 |
| 266 // This callback notifies the client that the frame created a Keygen element. | |
| 267 virtual void didUseKeygen() {} | |
| 268 | |
| 269 virtual WebCookieJar* cookieJar() const = 0; | 266 virtual WebCookieJar* cookieJar() const = 0; |
| 270 | 267 |
| 271 virtual void didChangeName(const String& name, const String& uniqueName) {} | 268 virtual void didChangeName(const String& name, const String& uniqueName) {} |
| 272 | 269 |
| 273 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} | 270 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} |
| 274 | 271 |
| 275 virtual void didUpdateToUniqueOrigin() {} | 272 virtual void didUpdateToUniqueOrigin() {} |
| 276 | 273 |
| 277 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} | 274 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} |
| 278 | 275 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is | 339 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is |
| 343 // returned if the URL is not overriden. | 340 // returned if the URL is not overriden. |
| 344 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 341 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
| 345 | 342 |
| 346 virtual BlameContext* frameBlameContext() { return nullptr; } | 343 virtual BlameContext* frameBlameContext() { return nullptr; } |
| 347 }; | 344 }; |
| 348 | 345 |
| 349 } // namespace blink | 346 } // namespace blink |
| 350 | 347 |
| 351 #endif // FrameLoaderClient_h | 348 #endif // FrameLoaderClient_h |
| OLD | NEW |