| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 WEBKIT_API void registerURLSchemeAsNoAccess(const WebString&); | 70 WEBKIT_API void registerURLSchemeAsNoAccess(const WebString&); |
| 71 | 71 |
| 72 // Registers a v8 extension to be available on webpages with a particular | 72 // Registers a v8 extension to be available on webpages with a particular |
| 73 // scheme. If the scheme argument is empty, the extension is available on | 73 // scheme. If the scheme argument is empty, the extension is available on |
| 74 // all pages. Will only affect v8 contexts initialized after this call. | 74 // all pages. Will only affect v8 contexts initialized after this call. |
| 75 // Takes ownership of the v8::Extension object passed. | 75 // Takes ownership of the v8::Extension object passed. |
| 76 WEBKIT_API void registerExtension(v8::Extension*); | 76 WEBKIT_API void registerExtension(v8::Extension*); |
| 77 WEBKIT_API void registerExtension(v8::Extension*, | 77 WEBKIT_API void registerExtension(v8::Extension*, |
| 78 const WebString& schemeRestriction); | 78 const WebString& schemeRestriction); |
| 79 | 79 |
| 80 // Process any pending JavaScript console messages. |
| 81 WEBKIT_API void flushConsoleMessages(); |
| 82 |
| 80 // Enables HTML5 media support. | 83 // Enables HTML5 media support. |
| 81 WEBKIT_API void enableMediaPlayer(); | 84 WEBKIT_API void enableMediaPlayer(); |
| 82 | 85 |
| 83 // Purge the plugin list cache. | 86 // Purge the plugin list cache. |
| 84 WEBKIT_API void resetPluginCache(); | 87 WEBKIT_API void resetPluginCache(); |
| 85 | 88 |
| 86 } // namespace WebKit | 89 } // namespace WebKit |
| 87 | 90 |
| 88 #endif | 91 #endif |
| OLD | NEW |