| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 // terminated by the time this function returns. | 47 // terminated by the time this function returns. |
| 48 WEBKIT_API void shutdown(); | 48 WEBKIT_API void shutdown(); |
| 49 | 49 |
| 50 // Returns the WebKitClient instance passed to initialize. | 50 // Returns the WebKitClient instance passed to initialize. |
| 51 WEBKIT_API WebKitClient* webKitClient(); | 51 WEBKIT_API WebKitClient* webKitClient(); |
| 52 | 52 |
| 53 // Alters the rendering of content to conform to a fixed set of rules. | 53 // Alters the rendering of content to conform to a fixed set of rules. |
| 54 WEBKIT_API void setLayoutTestMode(bool); | 54 WEBKIT_API void setLayoutTestMode(bool); |
| 55 WEBKIT_API bool layoutTestMode(); | 55 WEBKIT_API bool layoutTestMode(); |
| 56 | 56 |
| 57 // Enables HTML5 media support. | |
| 58 WEBKIT_API void enableMediaPlayer(); | |
| 59 | |
| 60 // Purge the plugin list cache. If |reloadPages| is true, any pages | 57 // Purge the plugin list cache. If |reloadPages| is true, any pages |
| 61 // containing plugins will be reloaded after refreshing the plugin list. | 58 // containing plugins will be reloaded after refreshing the plugin list. |
| 62 WEBKIT_API void resetPluginCache(bool reloadPages); | 59 WEBKIT_API void resetPluginCache(bool reloadPages); |
| 63 | 60 |
| 64 // Enables HTML5 database support. | |
| 65 WEBKIT_API void enableDatabases(); | |
| 66 WEBKIT_API bool databasesEnabled(); | |
| 67 | |
| 68 // Enables HTML5 Web Sockets support. | |
| 69 WEBKIT_API void enableWebSockets(); | |
| 70 WEBKIT_API bool webSocketsEnabled(); | |
| 71 | |
| 72 } // namespace WebKit | 61 } // namespace WebKit |
| 73 | 62 |
| 74 #endif | 63 #endif |
| OLD | NEW |